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 aarch64 --nodeps /builddir/build/SPECS/dsms-storage.spec'], chrootPath='/var/lib/mock/dist-an23-build-275842-64320/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --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 warning: Macro expanded in comment on line 50: %{version}.tar.gz Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1686700800 Wrote: /builddir/build/SRPMS/dsms-storage-1.0-0.an23.src.rpm RPM build warnings: Macro expanded in comment on line 50: %{version}.tar.gz Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/dsms-storage.spec'], chrootPath='/var/lib/mock/dist-an23-build-275842-64320/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --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 warning: Macro expanded in comment on line 50: %{version}.tar.gz Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1686700800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fHFfUv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dsms-storage + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/dsms-storage-v1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd dsms-storage + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7Hvv8r + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export LDFLAGS= + LDFLAGS= + CEPH_MFLAGS_JOBS=-j80 ++ echo -j80 ++ sed s/-j// + CEPH_SMP_NCPUS=80 Available memory: + echo 'Available memory:' + free -h total used free shared buff/cache available Mem: 255Gi 5.5Gi 200Gi 48Mi 49Gi 217Gi 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) 261250 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) 261250 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=261281 + max_jobs=104 + test 80 -gt 104 + test 80 -le 0 + export CEPH_SMP_NCPUS + export CEPH_MFLAGS_JOBS=-j80 + CEPH_MFLAGS_JOBS=-j80 + 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=-j80 CEPH_SMP_NCPUS=80 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules HISTCONTROL=ignoredups HISTSIZE=1000 HOME=/builddir HOSTNAME=iZ2ze7dcak6kcy6zqdazjgZ 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 RPM_ARCH=aarch64 RPM_BUILD_DIR=/builddir/build/BUILD RPM_BUILD_NCPUS=80 RPM_BUILD_ROOT=/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection RPM_OS=linux RPM_PACKAGE_NAME=dsms-storage RPM_PACKAGE_RELEASE=0.an23 RPM_PACKAGE_VERSION=1.0 RPM_SOURCE_DIR=/builddir/build/SOURCES SHELL=/bin/bash SHLVL=1 SOURCE_DATE_EPOCH=1686700800 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_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=80 -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=aarch64-Anolis-linux' '--host=aarch64-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=aarch64-Anolis-linux' 'host_alias=aarch64-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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_ARMV8_CRC_CRYPTO_INTRINSICS -- Performing Test HAVE_ARMV8_CRC_CRYPTO_INTRINSICS - Success -- Performing Test HAVE_ARMV8_SIMD -- Performing Test HAVE_ARMV8_SIMD - Success -- 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 CMake Deprecation Warning at src/googletest/CMakeLists.txt:4 (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. CMake Deprecation Warning at src/googletest/googlemock/CMakeLists.txt:45 (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. CMake Deprecation Warning at src/googletest/googletest/CMakeLists.txt:56 (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 PythonInterp: /usr/bin/python3.10 (found version "3.10.12") -- 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 (13.5s) 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/src/rgw/rgw_oidc_provider.cc This warning is for project developers. Use -Wno-dev to suppress it. -- Generating done (2.2s) CMake Warning: Manually-specified variables were not used by the project: BOOST_J -- Build files have been written to: /builddir/build/BUILD/dsms-storage/build + make -j80 [ 0%] generating /builddir/build/BUILD/dsms-storage/build/include/tracing/oprequest.h [ 0%] Building CXX object src/compressor/CMakeFiles/compressor_objs.dir/Compressor.cc.o [ 0%] Building CXX object src/fmt/CMakeFiles/fmt.dir/src/format.cc.o [ 0%] Building CXX object src/fmt/CMakeFiles/fmt.dir/src/posix.cc.o [ 0%] Building C object src/common/CMakeFiles/common_utf8.dir/utf8.c.o [ 0%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/AuthRegistry.cc.o [ 0%] Building C object src/crush/CMakeFiles/crush_objs.dir/crush.c.o [ 0%] Building CXX object src/arch/CMakeFiles/arch.dir/probe.cc.o [ 0%] Building C object src/common/CMakeFiles/common_mountcephfs_objs.dir/armor.c.o [ 0%] Building CXX object src/common/CMakeFiles/common_buffer_obj.dir/buffer.cc.o [ 0%] Building C object src/common/CMakeFiles/common_mountcephfs_objs.dir/safe_io.c.o [ 0%] Building CXX object src/CMakeFiles/rados_snap_set_diff_obj.dir/librados/snap_set_diff.cc.o [ 0%] Building C object src/arch/CMakeFiles/arch.dir/arm.c.o [ 0%] Building C object src/crush/CMakeFiles/crush_objs.dir/hash.c.o [ 0%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/AuthMethodList.cc.o [ 0%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/AuthClientHandler.cc.o [ 0%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/DispatchQueue.cc.o [ 0%] Building CXX object src/common/CMakeFiles/common_texttable_obj.dir/TextTable.cc.o [ 0%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/cephx/CephxAuthorizeHandler.cc.o [ 0%] Building C object src/common/CMakeFiles/common_mountcephfs_objs.dir/module.c.o [ 0%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/Crypto.cc.o [ 0%] Building CXX object src/erasure-code/CMakeFiles/erasure_code.dir/ErasureCodePlugin.cc.o [ 0%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/Message.cc.o [ 0%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/AuthSessionHandler.cc.o [ 0%] Building CXX object src/crush/CMakeFiles/crush_objs.dir/CrushWrapper.cc.o [ 0%] Building C object src/crush/CMakeFiles/crush_objs.dir/builder.c.o [ 0%] Building C object src/common/CMakeFiles/common_mountcephfs_objs.dir/addr_parsing.c.o [ 0%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/cephx/CephxClientHandler.cc.o [ 0%] generating /builddir/build/BUILD/dsms-storage/build/include/tracing/pg.h [ 0%] Building C object src/crush/CMakeFiles/crush_objs.dir/mapper.c.o [ 0%] Building CXX object src/cls/CMakeFiles/cls_lock_client.dir/lock/cls_lock_client.cc.o [ 0%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/RotatingKeyRing.cc.o [ 0%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/KeyRing.cc.o [ 0%] generating /builddir/build/BUILD/dsms-storage/build/include/tracing/oprequest.h [ 0%] generating /builddir/build/BUILD/dsms-storage/build/include/tracing/objectstore.h [ 0%] Building CXX object src/crush/CMakeFiles/crush_objs.dir/CrushCompiler.cc.o [ 0%] generating /builddir/build/BUILD/dsms-storage/build/include/tracing/librados.h [ 0%] generating /builddir/build/BUILD/dsms-storage/build/include/tracing/librados.h [ 0%] Building CXX object src/osdc/CMakeFiles/osdc.dir/Filer.cc.o [ 0%] Building CXX object src/erasure-code/CMakeFiles/erasure_code_objs.dir/ErasureCode.cc.o [ 1%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/AsyncOpTracker.cc.o [ 1%] Building CXX object src/perfglue/CMakeFiles/heap_profiler.dir/heap_profiler.cc.o [ 1%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_cpu.c.o [ 1%] Building C object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/cauchy.c.o [ 1%] Building CXX object src/erasure-code/shec/CMakeFiles/shec_utils.dir/__/ErasureCode.cc.o [ 1%] Building CXX object src/global/CMakeFiles/libglobal_objs.dir/global_init.cc.o [ 1%] Creating directories for 'rocksdb_ext' [ 1%] Building CXX object src/erasure-code/jerasure/CMakeFiles/jerasure_utils.dir/ErasureCodePluginJerasure.cc.o [ 1%] Building CXX object src/common/CMakeFiles/common_prioritycache_obj.dir/PriorityCache.cc.o [ 1%] Building CXX object src/mgr/CMakeFiles/mgr_cap_obj.dir/MgrCap.cc.o [ 1%] Building CXX object src/crypto/openssl/CMakeFiles/ceph_crypto_openssl.dir/openssl_crypto_accel.cc.o [ 1%] generating /builddir/build/BUILD/dsms-storage/build/include/tracing/bluestore.h [ 1%] generating /builddir/build/BUILD/dsms-storage/build/include/tracing/objectstore.h [ 1%] Building CXX object src/compressor/lz4/CMakeFiles/ceph_lz4.dir/CompressionPluginLZ4.cc.o [ 1%] Building CXX object src/compressor/snappy/CMakeFiles/ceph_snappy.dir/CompressionPluginSnappy.cc.o [ 1%] Building CXX object src/dmclock/src/CMakeFiles/dmclock.dir/dmclock_util.cc.o [ 1%] Building CXX object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/CompressionPluginZlib.cc.o [ 1%] Building CXX object src/cls/CMakeFiles/cls_numops.dir/numops/cls_numops.cc.o [ 1%] generating /builddir/build/BUILD/dsms-storage/build/include/tracing/pg.h [ 2%] Building CXX object src/perfglue/CMakeFiles/cpu_profiler.dir/disabled_stubs.cc.o [ 2%] generating /builddir/build/BUILD/dsms-storage/build/include/tracing/osd.h [ 2%] Creating directories for 'zstd_ext' [ 2%] Building CXX object src/cls/CMakeFiles/cls_hello.dir/hello/cls_hello.cc.o [ 2%] Building CXX object src/cls/CMakeFiles/cls_log.dir/log/cls_log.cc.o [ 2%] Building CXX object src/cls/CMakeFiles/cls_version.dir/version/cls_version.cc.o [ 3%] Building CXX object src/cls/CMakeFiles/cls_otp.dir/otp/cls_otp.cc.o [ 3%] Building CXX object src/cls/CMakeFiles/cls_rbd.dir/rbd/cls_rbd.cc.o [ 4%] Building CXX object src/cls/CMakeFiles/cls_queue.dir/queue/cls_queue.cc.o [ 4%] generating /builddir/build/BUILD/dsms-storage/build/include/tracing/bluestore.h [ 4%] Building CXX object src/cls/CMakeFiles/cls_rgw_gc.dir/rgw_gc/cls_rgw_gc.cc.o [ 4%] Building CXX object src/cls/CMakeFiles/cls_user.dir/user/cls_user.cc.o [ 4%] Building CXX object src/cls/CMakeFiles/cls_journal.dir/journal/cls_journal.cc.o [ 4%] Building CXX object src/cls/CMakeFiles/cls_cephfs.dir/cephfs/cls_cephfs.cc.o [ 4%] Building CXX object src/cls/CMakeFiles/cls_timeindex.dir/timeindex/cls_timeindex.cc.o [ 4%] Building CXX object src/cls/CMakeFiles/cls_cas.dir/cas/cls_cas.cc.o [ 4%] Building C object src/lua/CMakeFiles/liblua.dir/src/lapi.c.o [ 4%] Building C object src/common/CMakeFiles/parse_secret_objs.dir/secret.c.o [ 4%] Building C object src/CMakeFiles/civetweb_common_objs.dir/civetweb/src/civetweb.c.o [ 4%] No download step for 'rocksdb_ext' [ 4%] Building CXX object src/cls/CMakeFiles/cls_journal.dir/journal/cls_journal_types.cc.o [ 4%] No download step for 'zstd_ext' [ 4%] Linking CXX static library ../../lib/libarch.a [ 4%] Built target oprequest-tp /builddir/build/BUILD/dsms-storage/src/common/addr_parsing.c: In function 'safe_cat': /builddir/build/BUILD/dsms-storage/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/src/common/addr_parsing.c:28:14: note: length computed here 28 | int len2 = strlen(str2); | ^~~~~~~~~~~~ [ 4%] Built target bluestore-tp [ 4%] generating /builddir/build/BUILD/dsms-storage/build/include/tracing/rgw_op.h [ 4%] Built target osd-tp [ 4%] generating /builddir/build/BUILD/dsms-storage/build/include/tracing/rgw_rados.h [ 4%] generating /builddir/build/BUILD/dsms-storage/build/include/tracing/osd.h [ 4%] Building C object src/tracing/CMakeFiles/os_tp.dir/objectstore.c.o /builddir/build/BUILD/dsms-storage/src/common/secret.c: In function 'set_kernel_secret': /builddir/build/BUILD/dsms-storage/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/src/common/secret.c:23: /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~~~ [ 4%] No update step for 'rocksdb_ext' [ 4%] Building CXX object src/cls/CMakeFiles/cls_lock.dir/lock/cls_lock.cc.o [ 4%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/cephx/CephxProtocol.cc.o [ 4%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_wgen.c.o [ 4%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/cephx/CephxSessionHandler.cc.o [ 5%] No update step for 'zstd_ext' [ 5%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w16.c.o [ 5%] Built target librados-tp [ 5%] Linking C static library ../../lib/libcommon_utf8.a [ 5%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf.c.o [ 5%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w32.c.o [ 5%] Built target parse_secret_objs [ 5%] Building C object src/tracing/CMakeFiles/rados_tp.dir/librados.c.o [ 5%] No patch step for 'rocksdb_ext' [ 6%] Building CXX object src/cls/CMakeFiles/cls_rgw_gc.dir/queue/cls_queue_src.cc.o [ 6%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w64.c.o [ 6%] No patch step for 'zstd_ext' [ 6%] Building C object src/tracing/CMakeFiles/rgw_op_tp.dir/rgw_op.c.o [ 6%] Building C object src/tracing/CMakeFiles/rgw_rados_tp.dir/rgw_rados.c.o [ 6%] Performing configure step for 'rocksdb_ext' [ 6%] Built target common_mountcephfs_objs [ 6%] Performing configure step for 'zstd_ext' [ 6%] Building CXX object src/cls/CMakeFiles/cls_rgw_gc.dir/__/common/ceph_json.cc.o [ 6%] Building C object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/galois.c.o 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. [ 6%] Building C object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/jerasure.c.o /builddir/build/BUILD/dsms-storage/src/civetweb/src/civetweb.c: In function 'mg_get_system_info_impl': /builddir/build/BUILD/dsms-storage/src/civetweb/src/civetweb.c:17261:32: warning: '-Werror' is not an option that controls warnings [-Wpragmas] 17261 | #pragma GCC diagnostic ignored "-Werror" | ^~~~~~~~~ Compiling targeted ceph module [ 6%] Built target objectstore-tp [ 6%] Building C object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/liberation.c.o [ 6%] Building CXX object src/cls/CMakeFiles/cls_rbd.dir/rbd/cls_rbd_types.cc.o [ 6%] generating /builddir/build/BUILD/dsms-storage/build/include/tracing/librbd.h [ 6%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w128.c.o Creating targeted ceph.pp policy package [ 6%] Linking C shared library ../../lib/librgw_op_tp.so [ 6%] Built target ceph.pp [ 6%] Built target pg-tp [ 6%] Building CXX object src/crush/CMakeFiles/crush_objs.dir/CrushTester.cc.o [ 6%] Building CXX object src/crush/CMakeFiles/crush_objs.dir/CrushLocation.cc.o [ 6%] Building C object src/tracing/CMakeFiles/osd_tp.dir/oprequest.c.o [ 6%] Building CXX object src/cls/CMakeFiles/cls_sdk.dir/sdk/cls_sdk.cc.o [ 6%] Building C object src/tracing/CMakeFiles/bluestore_tp.dir/bluestore.c.o [ 6%] Building C object src/tracing/CMakeFiles/rbd_tp.dir/librbd.c.o [ 7%] Linking C shared library ../../lib/librgw_rados_tp.so [ 7%] Built target rgw_op_tp [ 7%] Building C object src/tracing/CMakeFiles/osd_tp.dir/osd.c.o -- The C compiler identification is GNU 12.2.1 -- The C compiler identification is GNU 12.2.1 [ 7%] Built target arch [ 7%] Built target common_utf8 [ 7%] Building CXX object src/crypto/openssl/CMakeFiles/ceph_crypto_openssl.dir/openssl_crypto_plugin.cc.o [ 7%] Building CXX object src/cls/CMakeFiles/cls_numops_client.dir/numops/cls_numops_client.cc.o -- The CXX compiler identification is GNU 12.2.1 [ 8%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/Messenger.cc.o -- Detecting C compiler ABI info [ 8%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_general.c.o [ 8%] Building CXX object src/cls/CMakeFiles/cls_otp_client.dir/otp/cls_otp_client.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/fmt/include/fmt/format-inl.h:11, from /builddir/build/BUILD/dsms-storage/src/fmt/src/format.cc:8: /builddir/build/BUILD/dsms-storage/src/fmt/include/fmt/format.h: In instantiation of 'constexpr bool fmt::v5::internal::find(Ptr, Ptr, T, Ptr&) [with bool IS_CONSTEXPR = false; T = char; Ptr = const wchar_t*]': /builddir/build/BUILD/dsms-storage/src/fmt/include/fmt/format.h:2091:32: required from 'constexpr void fmt::v5::internal::parse_format_string(fmt::v5::basic_string_view, Handler&&)::writer::operator()(const Char*, const Char*) [with bool IS_CONSTEXPR = false; Char = wchar_t; Handler = fmt::v5::format_handler > >, wchar_t, fmt::v5::basic_format_context >, wchar_t> >&]' /builddir/build/BUILD/dsms-storage/src/fmt/include/fmt/format.h:2101:3: required from 'constexpr void fmt::v5::internal::parse_format_string(fmt::v5::basic_string_view, Handler&&) [with bool IS_CONSTEXPR = false; Char = wchar_t; Handler = fmt::v5::format_handler > >, wchar_t, fmt::v5::basic_format_context >, wchar_t> >&]' /builddir/build/BUILD/dsms-storage/src/fmt/include/fmt/format.h:3226:39: required from 'typename Context::iterator fmt::v5::vformat_to(typename ArgFormatter::range, basic_string_view, basic_format_args, internal::locale_ref) [with ArgFormatter = arg_formatter > >; Char = wchar_t; Context = basic_format_context >, wchar_t>; typename Context::iterator = std::back_insert_iterator >; typename ArgFormatter::range = back_insert_range >]' /builddir/build/BUILD/dsms-storage/src/fmt/include/fmt/format.h:3329:42: required from 'typename fmt::v5::buffer_context::type::iterator fmt::v5::internal::vformat_to(basic_buffer&, fmt::v5::basic_string_view, fmt::v5::basic_format_args::type>) [with Char = wchar_t; typename fmt::v5::buffer_context::type::iterator = std::back_insert_iterator >; typename fmt::v5::buffer_context::type = fmt::v5::basic_format_context >, wchar_t>; typename fmt::v5::buffer_context::type = fmt::v5::basic_format_context >, wchar_t>]' /builddir/build/BUILD/dsms-storage/src/fmt/include/fmt/format-inl.h:915:23: required from here /builddir/build/BUILD/dsms-storage/src/fmt/include/fmt/format.h:2058:14: warning: comparison of integer expressions of different signedness: 'const wchar_t' and 'char' [-Wsign-compare] 2058 | if (*out == value) return true; | ~~~~~^~~~~~~~ [ 8%] Building CXX object src/cls/CMakeFiles/cls_otp_client.dir/otp/cls_otp_types.cc.o -- The CXX compiler identification is GNU 12.2.1 [ 8%] Building C object src/lua/CMakeFiles/liblua.dir/src/lcode.c.o [ 8%] Built target rgw_rados_tp [ 8%] Building C object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/reed_sol.c.o [ 8%] Building CXX object src/dmclock/src/CMakeFiles/dmclock.dir/__/support/src/run_every.cc.o [ 8%] Building CXX object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure_init.cc.o [ 8%] Linking C shared library ../../lib/libbluestore_tp.so [ 8%] Building C object src/lua/CMakeFiles/liblua.dir/src/lctype.c.o [ 8%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w4.c.o [ 8%] Built target bluestore_tp [ 9%] Building C object src/lua/CMakeFiles/liblua.dir/src/ldebug.c.o [ 9%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_rand.c.o [ 9%] Built target common_texttable_obj -- Detecting C compiler ABI info [ 9%] Building CXX object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/ZlibCompressor.cc.o [ 9%] Building CXX object src/cls/CMakeFiles/cls_queue.dir/queue/cls_queue_src.cc.o [ 9%] Building C object src/lua/CMakeFiles/liblua.dir/src/ldo.c.o [ 9%] Building CXX object src/cls/CMakeFiles/cls_queue.dir/__/common/ceph_json.cc.o -- Detecting C compiler ABI info - done [ 9%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w8.c.o [ 9%] Building CXX object src/cls/CMakeFiles/cls_refcount_client.dir/refcount/cls_refcount_client.cc.o -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info [ 9%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/neon/gf_w4_neon.c.o [ 9%] Linking CXX shared library ../../lib/libcls_sdk.so [ 9%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/neon/gf_w8_neon.c.o -- Detecting C compiler ABI info - done [ 9%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/neon/gf_w16_neon.c.o [ 9%] Building C object src/lua/CMakeFiles/liblua.dir/src/ldump.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 - done -- Detecting CXX compiler ABI info -- 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. -- Performing Test CXX_FLAG_STD_CPLUSPLUS11 [ 9%] Built target cls_sdk [ 9%] Building CXX object src/cls/CMakeFiles/cls_version_client.dir/version/cls_version_client.cc.o [ 9%] Linking CXX static library ../../lib/liberasure_code.a [ 9%] Building CXX object src/cls/CMakeFiles/cls_log_client.dir/log/cls_log_client.cc.o [ 9%] Linking CXX static library ../../../lib/libdmclock.a [ 9%] Building C object src/lua/CMakeFiles/liblua.dir/src/lfunc.c.o [ 9%] Built target erasure_code [ 9%] Building C object src/lua/CMakeFiles/liblua.dir/src/lgc.c.o [ 9%] Built target dmclock -- Performing Test CXX_FLAG_STD_CPLUSPLUS11 - Success -- Performing Test C_FLAG_STD_C99 [ 9%] Building CXX object src/cls/CMakeFiles/cls_timeindex_client.dir/timeindex/cls_timeindex_types.cc.o [ 9%] Building C object src/lua/CMakeFiles/liblua.dir/src/llex.c.o [ 9%] Building CXX object src/cls/CMakeFiles/cls_user_client.dir/user/cls_user_client.cc.o -- Detecting CXX compiler ABI info - done [ 9%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/neon/gf_w32_neon.c.o -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done [ 10%] Building CXX object src/cls/CMakeFiles/cls_version_client.dir/version/cls_version_types.cc.o -- 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 In function 'gf_w8_table_init', inlined from 'gf_w8_init' at /builddir/build/BUILD/dsms-storage/src/erasure-code/jerasure/gf-complete/src/gf_w8.c:2321:36: /builddir/build/BUILD/dsms-storage/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/src/erasure-code/jerasure/gf-complete/src/gf_w8.c: In function 'gf_w8_init': /builddir/build/BUILD/dsms-storage/src/erasure-code/jerasure/gf-complete/src/gf_w8.c:1140:22: note: 'scase' was declared here 1140 | int a, b, c, prod, scase; | ^~~~~ -- Performing Test C_FLAG_STD_C99 - Success -- Performing Test C_FLAG_WALL In file included from /builddir/build/BUILD/dsms-storage/src/cls/numops/cls_numops_client.cc:17: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/cls/numops/cls_numops_client.h:19, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 10%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/neon/gf_w64_neon.c.o -- Performing Test HAVE_OMIT_LEAF_FRAME_POINTER - Success -- Performing Test HAVE_SSE42 -- Performing Test C_FLAG_WALL - Success -- Performing Test CXX_FLAG_WALL [ 10%] Building C object src/lua/CMakeFiles/liblua.dir/src/lmem.c.o [ 10%] Building C object src/lua/CMakeFiles/liblua.dir/src/lobject.c.o [ 10%] Building C object src/lua/CMakeFiles/liblua.dir/src/lopcodes.c.o -- Performing Test HAVE_SSE42 - Failed -- Performing Test HAVE_THREAD_LOCAL [ 10%] Building C object src/lua/CMakeFiles/liblua.dir/src/lparser.c.o [ 10%] Building C object src/lua/CMakeFiles/liblua.dir/src/lstate.c.o [ 10%] Linking C shared library ../../lib/libos_tp.so [ 10%] Built target os_tp -- Performing Test CXX_FLAG_WALL - Success -- Performing Test C_FLAG_WEXTRA [ 10%] Building C object src/lua/CMakeFiles/liblua.dir/src/lstring.c.o [ 10%] Building CXX object src/cls/CMakeFiles/cls_journal_client.dir/journal/cls_journal_client.cc.o [ 10%] Built target gf-complete_objs [ 10%] Building C object src/lua/CMakeFiles/liblua.dir/src/ltable.c.o [ 10%] Building C object src/lua/CMakeFiles/liblua.dir/src/ltm.c.o -- Performing Test HAVE_THREAD_LOCAL - Success -- Enabling RTTI -- Performing Test HAVE_FALLOCATE [ 10%] Linking CXX static library ../../lib/libcls_numops_client.a [ 10%] Building C object src/lua/CMakeFiles/liblua.dir/src/lundump.c.o -- Performing Test C_FLAG_WEXTRA - Success -- Performing Test CXX_FLAG_WEXTRA [ 10%] Building CXX object src/cls/CMakeFiles/cls_journal_client.dir/journal/cls_journal_types.cc.o [ 10%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/QueueStrategy.cc.o [ 10%] Building C object src/lua/CMakeFiles/liblua.dir/src/lvm.c.o [ 10%] Built target cls_numops_client [ 10%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/Connection.cc.o -- Performing Test HAVE_FALLOCATE - Success -- Performing Test HAVE_SYNC_FILE_RANGE_WRITE -- Performing Test CXX_FLAG_WEXTRA - Success -- Performing Test C_FLAG_WUNDEF [ 10%] Building CXX object src/osdc/CMakeFiles/osdc.dir/ObjectCacher.cc.o -- Performing Test C_FLAG_WUNDEF - Success -- Performing Test CXX_FLAG_WUNDEF -- Performing Test HAVE_SYNC_FILE_RANGE_WRITE - Success -- Performing Test HAVE_PTHREAD_MUTEX_ADAPTIVE_NP In file included from /builddir/build/BUILD/dsms-storage/src/librados/snap_set_diff.h:9, from /builddir/build/BUILD/dsms-storage/src/librados/snap_set_diff.cc:6: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 10%] Building C object src/tracing/CMakeFiles/osd_tp.dir/pg.c.o In file included from /builddir/build/BUILD/dsms-storage/src/cls/lock/cls_lock_client.cc:17: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 10%] Linking C shared library ../../lib/libosd_tp.so -- Performing Test CXX_FLAG_WUNDEF - Success -- Performing Test C_FLAG_WSHADOW -- Performing Test HAVE_PTHREAD_MUTEX_ADAPTIVE_NP - Success -- Looking for malloc_usable_size [ 10%] Built target osd_tp [ 10%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/msg_types.cc.o [ 10%] Building C object src/lua/CMakeFiles/liblua.dir/src/lzio.c.o -- Performing Test C_FLAG_WSHADOW - Success -- Performing Test CXX_FLAG_WSHADOW [ 10%] Building C object src/lua/CMakeFiles/liblua.dir/src/lauxlib.c.o -- Looking for malloc_usable_size - found -- Looking for sched_getcpu [ 10%] Linking CXX static library ../../lib/libcpu_profiler.a In file included from /builddir/build/BUILD/dsms-storage/src/cls/otp/cls_otp_client.cc:17: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 10%] Built target civetweb_common_objs -- Performing Test CXX_FLAG_WSHADOW - Success -- Performing Test C_FLAG_WCAST_ALIGN -- Looking for sched_getcpu - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD [ 10%] Building CXX object src/cls/CMakeFiles/cls_rgw_client.dir/rgw/cls_rgw_client.cc.o [ 10%] Built target cpu_profiler In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/cls/rbd/cls_rbd_types.h:10, from /builddir/build/BUILD/dsms-storage/src/cls/rbd/cls_rbd_types.cc:5: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/cls/rbd/cls_rbd_types.cc:748:9: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 10%] Building CXX object src/cls/CMakeFiles/cls_cephfs_client.dir/cephfs/cls_cephfs_client.cc.o [ 10%] Building C object src/lua/CMakeFiles/liblua.dir/src/lbaselib.c.o -- Performing Test C_FLAG_WCAST_ALIGN - Success -- Performing Test CXX_FLAG_WCAST_ALIGN [ 10%] Linking CXX shared library ../../lib/libcls_numops.so -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- JNI library is disabled In file included from /builddir/build/BUILD/dsms-storage/src/compressor/lz4/LZ4Compressor.h:24, from /builddir/build/BUILD/dsms-storage/src/compressor/lz4/CompressionPluginLZ4.h:21, from /builddir/build/BUILD/dsms-storage/src/compressor/lz4/CompressionPluginLZ4.cc:18: /builddir/build/BUILD/dsms-storage/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/src/compressor/lz4/LZ4Compressor.h:120:28: required from here /builddir/build/BUILD/dsms-storage/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/src/common/Tub.h:274:15: note: 'Tub::object' declared here 274 | ElementType object[0]; | ^~~~~~ -- Configuring done (3.5s) [ 10%] Building C object src/lua/CMakeFiles/liblua.dir/src/lbitlib.c.o [ 10%] Building C object src/lua/CMakeFiles/liblua.dir/src/lcorolib.c.o [ 10%] Built target cls_numops [ 10%] Linking CXX shared library ../../lib/libcls_version.so [ 10%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/BackTrace.cc.o -- Performing Test CXX_FLAG_WCAST_ALIGN - Success -- Performing Test C_FLAG_WCAST_QUAL In file included from /builddir/build/BUILD/dsms-storage/src/cls/version/cls_version_client.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/cls/version/cls_version_types.h:4, from /builddir/build/BUILD/dsms-storage/src/cls/version/cls_version_ops.h:7, from /builddir/build/BUILD/dsms-storage/src/cls/version/cls_version_client.h:5, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/cls/refcount/cls_refcount_client.cc:5: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/cls/refcount/cls_refcount_client.h:5, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 11%] Building C object src/lua/CMakeFiles/liblua.dir/src/ldblib.c.o [ 11%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ConfUtils.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/cls/refcount/cls_refcount_ops.h:135:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/cls/log/cls_log_client.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/cls/log/cls_log_types.h:4, from /builddir/build/BUILD/dsms-storage/src/cls/log/cls_log_ops.h:7, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ -- Performing Test C_FLAG_WCAST_QUAL - Success -- Performing Test CXX_FLAG_WCAST_QUAL [ 11%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Cycles.cc.o -- Generating done (0.3s) [ 11%] Built target cls_version /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/cls/refcount/cls_refcount_ops.h:135:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 11%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/DecayCounter.cc.o -- Build files have been written to: /builddir/build/BUILD/dsms-storage/build/src/rocksdb [ 11%] Building C object src/lua/CMakeFiles/liblua.dir/src/liolib.c.o [ 11%] Performing build step for 'rocksdb_ext' [ 11%] Linking CXX shared library ../../lib/libcls_timeindex.so In file included from /builddir/build/BUILD/dsms-storage/src/auth/AuthSessionHandler.cc:23: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ -- Performing Test CXX_FLAG_WCAST_QUAL - Success In file included from /builddir/build/BUILD/dsms-storage/src/cls/user/cls_user_client.cc:7: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/cls/user/cls_user_types.h:7, from /builddir/build/BUILD/dsms-storage/src/cls/user/cls_user_ops.h:7, from /builddir/build/BUILD/dsms-storage/src/cls/user/cls_user_client.h:8, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/crush/CrushWrapper.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ -- Performing Test C_FLAG_WSTRICT_PROTOTYPES [ 0%] Building CXX object CMakeFiles/build_version.dir/build_version.cc.o [ 11%] Built target cls_timeindex [ 0%] Built target build_version [ 0%] Building CXX object CMakeFiles/rocksdb.dir/cache/clock_cache.cc.o [ 11%] Building CXX object src/cls/CMakeFiles/cls_lua_client.dir/lua/cls_lua_client.cc.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 /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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, | ^~~~~~~~~~~~~~~ [ 11%] Building C object src/lua/CMakeFiles/liblua.dir/src/lmathlib.c.o [ 11%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Finisher.cc.o -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Configuring done (4.3s) [ 11%] Linking CXX shared library ../../lib/libcls_log.so [ 11%] 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage/src/auth/AuthSessionHandler.cc:15: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 11%] Building CXX object src/cls/CMakeFiles/cls_timeindex_client.dir/timeindex/cls_timeindex_client.cc.o -- Generating done (0.0s) -- Build files have been written to: /builddir/build/BUILD/dsms-storage/build/src/compressor/zstd/libzstd In file included from /builddir/build/BUILD/dsms-storage/src/librados/snap_set_diff.cc:8: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 11%] Performing build step for 'zstd_ext' [ 11%] Building C object src/lua/CMakeFiles/liblua.dir/src/loslib.c.o [ 11%] Building CXX object src/cls/CMakeFiles/cls_queue_client.dir/queue/cls_queue_client.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/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("") | ^~~~~~~~~~~~~~~~~~~~~~~ [ 11%] Building CXX object src/cls/CMakeFiles/cls_lock_client.dir/lock/cls_lock_types.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/auth/Crypto.cc:27: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage/src/auth/AuthClientHandler.h:19, from /builddir/build/BUILD/dsms-storage/src/auth/AuthClientHandler.cc:18: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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) { | ^ /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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 0%] Building CXX object CMakeFiles/rocksdb.dir/cache/lru_cache.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 11%] Built target cls_log In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 3%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/common/entropy_common.c.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/cls/hello/cls_hello.cc:38: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 11%] Building CXX object src/global/CMakeFiles/libglobal_objs.dir/pidfile.cc.o [ 11%] Building C object src/lua/CMakeFiles/liblua.dir/src/lstrlib.c.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/cls/cephfs/cls_cephfs.cc:20: /builddir/build/BUILD/dsms-storage/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 /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage/src/auth/RotatingKeyRing.cc:3: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 11%] Building CXX object src/cls/CMakeFiles/cls_rgw_gc_client.dir/rgw_gc/cls_rgw_gc_client.cc.o /builddir/build/BUILD/dsms-storage/src/auth/Crypto.cc: In member function 'int CryptoAESKeyHandler::init(const ceph::bufferptr&, std::ostringstream&)': /builddir/build/BUILD/dsms-storage/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/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/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/src/auth/Crypto.cc: In member function 'virtual int CryptoAESKeyHandler::encrypt(const ceph::bufferlist&, ceph::bufferlist&, std::string*) const': /builddir/build/BUILD/dsms-storage/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/src/auth/Crypto.cc: In member function 'virtual int CryptoAESKeyHandler::decrypt(const ceph::bufferlist&, ceph::bufferlist&, std::string*) const': /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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, | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/cls/cas/cls_cas.cc:10: /builddir/build/BUILD/dsms-storage/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/src/objclass/../include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/objclass/../include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/objclass/../include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/objclass/objclass.h:9, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 11%] Building CXX object src/cls/CMakeFiles/cls_refcount_client.dir/refcount/cls_refcount_ops.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage/src/auth/KeyRing.h:18, from /builddir/build/BUILD/dsms-storage/src/auth/KeyRing.cc:21: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/erasure-code/ErasureCode.cc:26: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 6%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/common/fse_decompress.c.o In file included from /builddir/build/BUILD/dsms-storage/src/include/rados/buffer.h:59, from /builddir/build/BUILD/dsms-storage/src/include/rados/rados_types.hpp:10, from /builddir/build/BUILD/dsms-storage/src/librados/snap_set_diff.h:8: /builddir/build/BUILD/dsms-storage/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/src/librados/snap_set_diff.cc:110:25: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/erasure-code/ErasureCode.cc:26: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/cls/rbd/cls_rbd.cc:38: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage/src/auth/cephx/CephxProtocol.h:33, from /builddir/build/BUILD/dsms-storage/src/auth/cephx/CephxAuthorizeHandler.cc:1: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/cls/journal/cls_journal_client.cc:5: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/cls/journal/cls_journal_types.h:9, from /builddir/build/BUILD/dsms-storage/src/cls/journal/cls_journal_client.h:8, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 11%] Linking CXX static library ../../lib/libcls_otp_client.a In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/msg/Message.h:24, from /builddir/build/BUILD/dsms-storage/src/msg/DispatchQueue.cc:15: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 10%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/common/threading.c.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage/src/auth/AuthAuthorizeHandler.h:18, from /builddir/build/BUILD/dsms-storage/src/auth/AuthRegistry.h:9, from /builddir/build/BUILD/dsms-storage/src/auth/AuthRegistry.cc:4: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 13%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/common/pool.c.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/osdc/Filer.h:36, from /builddir/build/BUILD/dsms-storage/src/osdc/Filer.cc:18: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 11%] Built target cls_otp_client [ 11%] Linking CXX shared library ../../../lib/libceph_snappy.so [ 11%] Linking CXX shared library ../../lib/libcls_user.so [ 11%] generating mgr/rook/rook_client +++ readlink -f ./generate_rook_ceph_client.sh In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage/src/auth/cephx/CephxProtocol.h:33, from /builddir/build/BUILD/dsms-storage/src/auth/cephx/CephxProtocol.cc:15: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying ++ dirname /builddir/build/BUILD/dsms-storage/src/pybind/mgr/rook/generate_rook_ceph_client.sh + script_location=/builddir/build/BUILD/dsms-storage/src/pybind/mgr/rook + cd /builddir/build/BUILD/dsms-storage/src/pybind/mgr/rook + rm -rf rook_client + cp -r ./rook-client-python/rook_client . [ 12%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Formatter.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 12%] Linking CXX static library ../../lib/libcls_version_client.a [ 17%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/common/zstd_common.c.o + rm -rf rook_client/cassandra + rm -rf rook_client/edgefs + rm -rf rook_client/tests [ 12%] Built target mgr-rook-client In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/compressor/zlib/ZlibCompressor.cc:18: /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 13%] Linking CXX static library ../../lib/libcls_log_client.a [ 13%] Built target cls_version_client [ 13%] Built target rgw_rados-tp [ 13%] Linking CXX shared library ../../../lib/libceph_lz4.so [ 20%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/common/error_private.c.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage/src/auth/AuthClientHandler.h:19, from /builddir/build/BUILD/dsms-storage/src/auth/cephx/CephxClientHandler.h:18, from /builddir/build/BUILD/dsms-storage/src/auth/cephx/CephxClientHandler.cc:18: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 13%] Building CXX object src/cls/CMakeFiles/cls_lock_client.dir/lock/cls_lock_ops.cc.o [ 0%] Building CXX object CMakeFiles/rocksdb.dir/cache/sharded_cache.cc.o [ 24%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/common/xxhash.c.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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 C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/compress/hist.c.o [ 13%] Built target cls_user [ 13%] Built target ceph_snappy In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/auth/AuthSessionHandler.h:20, from /builddir/build/BUILD/dsms-storage/src/auth/cephx/CephxSessionHandler.h:16, from /builddir/build/BUILD/dsms-storage/src/auth/cephx/CephxSessionHandler.cc:15: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 13%] Built target cls_log_client [ 13%] Building CXX object src/erasure-code/shec/CMakeFiles/shec_utils.dir/ErasureCodePluginShec.cc.o [ 13%] Built target rgw_op-tp [ 13%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/AsyncConnection.cc.o [ 13%] keep civetweb.h up-to-date [ 13%] Built target ceph_lz4 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 13%] Built target civetweb_h [ 0%] Building CXX object CMakeFiles/rocksdb.dir/db/builder.cc.o [ 13%] Building CXX object src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/ObjectCacheStore.cc.o [ 13%] Building CXX object src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/CacheController.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 13%] Building C object src/lua/CMakeFiles/liblua.dir/src/ltablib.c.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 13%] Linking CXX shared library ../../lib/libcls_journal.so In file included from /builddir/build/BUILD/dsms-storage/src/cls/lua/cls_lua_client.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/msg/async/AsyncMessenger.h:23, from /builddir/build/BUILD/dsms-storage/src/msg/Messenger.cc:11: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 13%] Linking CXX shared library ../../lib/libcls_otp.so [ 13%] Linking CXX shared library ../../lib/libcls_lock.so [ 13%] Building C object src/lua/CMakeFiles/liblua.dir/src/linit.c.o [ 13%] Building C object src/lua/CMakeFiles/liblua.dir/src/lutf8lib.c.o [ 13%] Building CXX object src/cls/CMakeFiles/cls_user_client.dir/user/cls_user_types.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/cls/rgw_gc/cls_rgw_gc.cc:4: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 13%] Building CXX object src/cls/CMakeFiles/cls_user_client.dir/user/cls_user_ops.cc.o [ 13%] Built target cls_otp [ 0%] Building CXX object CMakeFiles/rocksdb.dir/db/c.cc.o [ 13%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Graylog.cc.o [ 13%] Built target cls_journal [ 13%] Building C object src/lua/CMakeFiles/liblua.dir/src/loadlib_rel.c.o [ 31%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/compress/fse_compress.c.o [ 13%] Built target cls_lock In file included from /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_client.h:8, from /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_client.cc:7: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/str_list.h:4, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 13%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/none/AuthNoneAuthorizeHandler.cc.o [ 34%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/compress/huf_compress.c.o [ 0%] Building CXX object CMakeFiles/rocksdb.dir/db/column_family.cc.o [ 13%] Built target librbd-tp [ 13%] Building CXX object src/librbd/CMakeFiles/rbd_types.dir/journal/Types.cc.o [ 0%] Building CXX object CMakeFiles/rocksdb.dir/db/compacted_db_impl.cc.o [ 37%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/compress/zstd_compress.c.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage/src/global/global_init.cc:15: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 13%] Linking CXX static library ../../lib/libcls_lua_client.a /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 13%] Linking C static library ../../lib/liblua.a [ 41%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/compress/zstdmt_compress.c.o [ 13%] Built target cls_lua_client /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 13%] Built target liblua /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 13%] Building CXX object src/cls/CMakeFiles/cls_rgw_client.dir/rgw/cls_rgw_types.cc.o [ 44%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/compress/zstd_fast.c.o [ 13%] Generating setup.py [ 13%] Generating ceph_volume [ 13%] Building CXX object src/cls/CMakeFiles/cls_rgw_client.dir/rgw/cls_rgw_ops.cc.o [ 13%] Building CXX object src/librbd/CMakeFiles/rbd_types.dir/mirroring_watcher/Types.cc.o [ 13%] Built target ceph_volume-clone [ 13%] Generating setup.py [ 13%] Linking CXX static library ../../lib/libheap_profiler.a In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/messages/MPGStats.h:18, from /builddir/build/BUILD/dsms-storage/src/msg/Message.cc:17: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 13%] Built target common_buffer_obj [ 13%] Building CXX object src/librbd/CMakeFiles/rbd_types.dir/trash_watcher/Types.cc.o [ 13%] Building CXX object src/librbd/CMakeFiles/rbd_types.dir/watcher/Types.cc.o [ 13%] Generating README.rst [ 13%] Built target heap_profiler [ 13%] Generating requirements.txt [ 13%] Generating ceph [ 13%] Building CXX object src/googletest/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o [ 13%] Built target ceph-clone /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 13%] Building CXX object src/tools/CMakeFiles/ceph-diff-sorted.dir/ceph-diff-sorted.cc.o [ 13%] Linking CXX shared library ../../../lib/libceph_crypto_openssl.so In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 13%] Building CXX object src/erasure-code/jerasure/CMakeFiles/jerasure_utils.dir/ErasureCodeJerasure.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/cls/cephfs/cls_cephfs_client.cc:17: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 13%] Built target ceph_crypto_openssl [ 48%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/compress/zstd_double_fast.c.o In file included from /builddir/build/BUILD/dsms-storage/src/objclass/../include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/objclass/../include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/objclass/../include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/objclass/objclass.h:9, from /builddir/build/BUILD/dsms-storage/src/cls/cephfs/cls_cephfs.cc:19: /builddir/build/BUILD/dsms-storage/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/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/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 13%] Building CXX object src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/CacheServer.cc.o [ 13%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_types.dir/image_map/Types.cc.o [ 13%] Generating setup.py [ 13%] Built target compressor_objs [ 13%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_types.dir/instance_watcher/Types.cc.o [ 13%] Generating cephfs-shell /builddir/build/BUILD/dsms-storage/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/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/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 13%] Built target cephfs-shell-clone In file included from /builddir/build/BUILD/dsms-storage/src/objclass/../include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/objclass/../include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/objclass/../include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/objclass/objclass.h:9, from /builddir/build/BUILD/dsms-storage/src/cls/hello/cls_hello.cc:37: /builddir/build/BUILD/dsms-storage/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/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/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 13%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/AsyncMessenger.cc.o [ 3%] Building CXX object CMakeFiles/rocksdb.dir/db/compaction.cc.o /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 In file included from /builddir/build/BUILD/dsms-storage/src/objclass/../include/encoding.h:41: /builddir/build/BUILD/dsms-storage/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/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/src/cls/cas/cls_cas_ops.h:126:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 13%] Built target jerasure_objs /builddir/build/BUILD/dsms-storage/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/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/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/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/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 /builddir/build/BUILD/dsms-storage/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/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/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/crush/CrushWrapper.h:14, from /builddir/build/BUILD/dsms-storage/src/erasure-code/ErasureCode.cc:25: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 13%] Building CXX object src/librbd/CMakeFiles/rbd_api.dir/librbd.cc.o /builddir/build/BUILD/dsms-storage/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/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/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/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/crush/CrushWrapper.h:14, from /builddir/build/BUILD/dsms-storage/src/erasure-code/ErasureCode.cc:25: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/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/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/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/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/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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:33: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/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/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/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 13%] Linking CXX executable ../../bin/ceph-diff-sorted /builddir/build/BUILD/dsms-storage/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/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/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/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/msg/Message.h:24, from /builddir/build/BUILD/dsms-storage/src/msg/DispatchStrategy.h:18, from /builddir/build/BUILD/dsms-storage/src/msg/QueueStrategy.h:22, from /builddir/build/BUILD/dsms-storage/src/msg/QueueStrategy.cc:15: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 13%] Linking C shared library ../../lib/librbd_tp.so /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 13%] Building CXX object src/rbd_replay/CMakeFiles/rbd_replay_types.dir/ActionTypes.cc.o /builddir/build/BUILD/dsms-storage/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/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/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/src/cls/cas/cls_cas_ops.h:126:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 13%] Built target ceph-diff-sorted /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 13%] Building CXX object src/test/CMakeFiles/unit-main.dir/unit.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 13%] Building CXX object src/test/rgw/CMakeFiles/amqp_mock.dir/amqp_mock.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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%] Built target rbd_tp /builddir/build/BUILD/dsms-storage/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/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/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/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 In file included from /builddir/build/BUILD/dsms-storage/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/osdc/ObjectCacher.h:7, from /builddir/build/BUILD/dsms-storage/src/osdc/ObjectCacher.cc:7: /builddir/build/BUILD/dsms-storage/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/src/msg/Messenger.h:20, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/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/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/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/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/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/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 In file included from /builddir/build/BUILD/dsms-storage/src/test/rgw/amqp_mock.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/src/test/rgw/amqp_mock.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." | ^~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 13%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/Protocol.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/cls/queue/cls_queue_client.h:4, from /builddir/build/BUILD/dsms-storage/src/cls/queue/cls_queue_client.cc:7: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/cls/queue/cls_queue_types.h:5, from /builddir/build/BUILD/dsms-storage/src/cls/queue/cls_queue_ops.h:4, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 13%] Building CXX object src/test/rgw/CMakeFiles/kafka_stub.dir/kafka_stub.cc.o /builddir/build/BUILD/dsms-storage/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/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/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/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/cls/timeindex/cls_timeindex_client.h:7, from /builddir/build/BUILD/dsms-storage/src/cls/timeindex/cls_timeindex_client.cc:7: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/cls/timeindex/cls_timeindex_types.h:7, from /builddir/build/BUILD/dsms-storage/src/cls/timeindex/cls_timeindex_ops.h:7, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/crush/CrushWrapper.cc:3040:9: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/crush/CrushWrapper.cc:3060:11: required from here /builddir/build/BUILD/dsms-storage/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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/auth/cephx/CephxProtocol.cc: In member function 'virtual bool CephXAuthorizer::add_challenge(ceph::common::CephContext*, const ceph::bufferlist&)': /builddir/build/BUILD/dsms-storage/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/src/auth/cephx/CephxProtocol.cc:574:29: note: 'ch.CephXAuthorizeChallenge::server_challenge' was declared here 574 | CephXAuthorizeChallenge ch; | ^~ /builddir/build/BUILD/dsms-storage/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/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/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/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 13%] Linking CXX static library ../../../lib/libkafka_stub.a /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage/src/msg/Connection.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/Connection.cc:4: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 13%] Built target rados_snap_set_diff_obj [ 13%] Building CXX object src/erasure-code/shec/CMakeFiles/shec_utils.dir/ErasureCodeShec.cc.o [ 13%] Built target kafka_stub [ 13%] Building CXX object src/erasure-code/shec/CMakeFiles/shec_utils.dir/ErasureCodeShecTableCache.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/cls/cas/cls_cas_client.cc:5: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/cls/cas/cls_cas_client.h:4, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 13%] Building CXX object src/test/librados/CMakeFiles/radostest_shared.dir/test_shared.cc.o [ 13%] Built target common_prioritycache_obj /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 14%] Building CXX object src/test/compressor/CMakeFiles/ceph_example.dir/compressor_plugin_example.cc.o [ 51%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/compress/zstd_lazy.c.o /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 15%] Building CXX object src/librbd/CMakeFiles/rbd_types.dir/WatchNotifyTypes.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/crush/CrushWrapper.cc:3040:9: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/cls/cas/cls_cas_ops.h:126:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/crush/CrushWrapper.cc:3058:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/crush/CrushWrapper.cc:3060:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/cls/cas/cls_cas_ops.h:126:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/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/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MPGStats.h:19: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/osdc/ObjectCacher.h:17: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/mds/CInode.h:27, from /builddir/build/BUILD/dsms-storage/src/cls/cephfs/cls_cephfs_client.cc:18: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/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/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/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/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/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/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/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/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/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 15%] Linking CXX static library ../../lib/libfmt.a In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/cls/rgw_gc/cls_rgw_gc_client.h:4, from /builddir/build/BUILD/dsms-storage/src/cls/rgw_gc/cls_rgw_gc_client.cc:10: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/ceph_time.h:19, from /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_types.h:7, from /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_ops.h:7, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/cls/refcount/cls_refcount_ops.h:7, from /builddir/build/BUILD/dsms-storage/src/cls/refcount/cls_refcount_ops.cc:4: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/cls/refcount/cls_refcount_ops.h:135:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 15%] Built target fmt /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/cls/refcount/cls_refcount_ops.h:135:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/cls/rbd/cls_rbd.cc:3159:9: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 15%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/ProtocolV1.cc.o [ 15%] Building CXX object src/test/erasure-code/CMakeFiles/ec_missing_entry_point.dir/ErasureCodePluginMissingEntryPoint.cc.o [ 15%] Building CXX object src/osdc/CMakeFiles/osdc.dir/Objecter.cc.o [ 15%] Linking CXX shared library ../../../lib/libec_missing_entry_point.so [ 15%] Linking CXX static library ../../lib/libcls_timeindex_client.a [ 15%] Linking CXX static library ../../lib/libcls_queue_client.a In file included from /builddir/build/BUILD/dsms-storage/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/Types.h:13, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/Types.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 55%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/compress/zstd_opt.c.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 15%] Built target cls_timeindex_client [ 15%] Built target cls_queue_client [ 58%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/compress/zstd_ldm.c.o [ 15%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/ProtocolV2.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_basic_types.h:9, from /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_types.h:14: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 15%] Building CXX object src/test/erasure-code/CMakeFiles/ec_missing_version.dir/ErasureCodePluginMissingVersion.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 15%] Built target ec_missing_entry_point [ 15%] Linking CXX static library ../../lib/libcls_cas_client.a [ 15%] Linking CXX shared library ../../../lib/libec_missing_version.so /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 15%] Built target cls_cas_client [ 3%] Building CXX object CMakeFiles/rocksdb.dir/db/compaction_iterator.cc.o [ 15%] Building CXX object src/test/erasure-code/CMakeFiles/ec_hangs.dir/ErasureCodePluginHangs.cc.o [ 15%] Building C object src/test/rgw/CMakeFiles/amqp_mock.dir/amqp_url.c.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/rgw/amqp_url.c:43: /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." | ^~~~~~~ [ 15%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/Event.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/cls/rbd/cls_rbd.cc:3159:9: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 15%] Linking CXX shared library ../../../lib/libec_hangs.so [ 15%] Built target ec_missing_version [ 15%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/HTMLFormatter.cc.o [ 15%] Building CXX object src/test/erasure-code/CMakeFiles/ec_fail_to_initialize.dir/ErasureCodePluginFailToInitialize.cc.o [ 15%] Linking CXX static library ../../../lib/libamqp_mock.a [ 15%] Linking CXX shared library ../../../lib/libec_fail_to_initialize.so [ 15%] Built target amqp_mock [ 15%] Built target ec_hangs In file included from /usr/include/boost/bind.hpp:30, from /builddir/build/BUILD/dsms-storage/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( | ^~~~~~~~~~~~~~~~~~~~ [ 15%] Building CXX object src/test/erasure-code/CMakeFiles/ec_fail_to_register.dir/ErasureCodePluginFailToRegister.cc.o [ 15%] Building CXX object src/test/librados_test_stub/CMakeFiles/rados_test_stub.dir/LibradosTestStub.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Filer.h:32: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 15%] Linking CXX shared library ../../../lib/libec_fail_to_register.so [ 15%] Built target ec_fail_to_initialize 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/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("") | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 15%] Building CXX object src/test/mon/CMakeFiles/ceph_test_mon_memory_target.dir/test_mon_memory_target.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 15%] Built target ec_fail_to_register [ 15%] Building CXX object src/test/librados_test_stub/CMakeFiles/rados_test_stub.dir/TestClassHandler.cc.o [ 15%] Building CXX object src/test/mon/CMakeFiles/ceph_test_log_rss_usage.dir/test_log_rss_usage.cc.o [ 15%] Linking CXX static library ../../lib/libcls_refcount_client.a [ 15%] Building CXX object src/test/librados_test_stub/CMakeFiles/rados_test_stub.dir/TestIoCtxImpl.cc.o /builddir/build/BUILD/dsms-storage/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/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/src/auth/cephx/CephxProtocol.cc:479:18: note: 'auth_msg.CephXAuthorize::nonce' was declared here 479 | CephXAuthorize auth_msg; | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 15%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/EventSelect.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/Types.h:13, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_map/Types.h:16, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_map/Types.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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 | ^~~~~~~~ [ 15%] Linking C shared library ../../lib/librados_tp.so In file included from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage/src/mds/MDSCacheObject.h:15, from /builddir/build/BUILD/dsms-storage/src/mds/CInode.h:30: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 15%] Built target cls_refcount_client [ 15%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/PosixStack.cc.o [ 15%] Building CXX object src/test/librados_test_stub/CMakeFiles/rados_test_stub.dir/TestMemCluster.cc.o [ 15%] Built target radostest_shared [ 15%] Built target rados_tp [ 15%] Building CXX object src/test/objectstore/CMakeFiles/store_test_fixture.dir/store_test_fixture.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/tools/immutable_object_cache/ObjectCacheStore.h:9, from /builddir/build/BUILD/dsms-storage/src/tools/immutable_object_cache/ObjectCacheStore.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/common/ceph_context.h:19, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/tools/immutable_object_cache/SimplePolicy.h:9, from /builddir/build/BUILD/dsms-storage/src/tools/immutable_object_cache/ObjectCacheStore.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 15%] Building CXX object src/test/mon/CMakeFiles/ceph_test_mon_rss_usage.dir/test_mon_rss_usage.cc.o [ 15%] Linking CXX shared library ../../lib/libcls_hello.so [ 16%] Linking CXX shared library ../../lib/libcls_cephfs.so In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_basic_types.h:9, from /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_types.h:14, from /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_ops.h:7, from /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_client.h:9: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 16%] Building CXX object src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/CacheClient.cc.o [ 16%] Building CXX object src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/CacheSession.cc.o [ 16%] Linking CXX static library ../../lib/libcls_lock_client.a [ 16%] Built target cls_hello /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 16%] Building CXX object src/rgw/CMakeFiles/rgw_schedulers.dir/rgw_dmclock_scheduler_ctx.cc.o [ 16%] Built target cls_lock_client In file included from /builddir/build/BUILD/dsms-storage/src/msg/async/AsyncMessenger.h:23, from /builddir/build/BUILD/dsms-storage/src/msg/async/AsyncConnection.cc:22: /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 16%] Built target cls_cephfs [ 16%] Linking CXX shared library ../../../lib/libceph_zlib.so [ 16%] Linking CXX static library ../../lib/libcls_journal_client.a [ 16%] Building CXX object src/key_value_store/CMakeFiles/cls_kvs.dir/cls_kvs.cc.o [ 16%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/HeartbeatMap.cc.o [ 16%] Building CXX object src/global/CMakeFiles/libglobal_objs.dir/signal_handler.cc.o [ 16%] Building CXX object src/test/system/CMakeFiles/systest.dir/cross_process_sem.cc.o [ 16%] 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-debugpack.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 [ 16%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/LogClient.cc.o [ 16%] Built target cls_journal_client [ 16%] Building C object src/CMakeFiles/common-objs.dir/ceph_ver.c.o [ 16%] Built target ceph_zlib [ 16%] Building CXX object src/rgw/CMakeFiles/rgw_schedulers.dir/rgw_dmclock_sync_scheduler.cc.o [ 16%] Building CXX object src/CMakeFiles/common-objs.dir/global/global_context.cc.o Running Sphinx v6.1.3 [ 17%] Linking CXX executable ../../../bin/ceph_test_log_rss_usage [ 17%] Building CXX object src/test/system/CMakeFiles/systest.dir/systest_runnable.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/msg/async/AsyncMessenger.h:23, from /builddir/build/BUILD/dsms-storage/src/msg/async/AsyncMessenger.cc:22: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 17%] Linking CXX shared library ../../lib/libcls_cas.so [ 17%] Built target ceph_test_log_rss_usage [ 3%] Building CXX object CMakeFiles/rocksdb.dir/db/compaction_job.cc.o [ 17%] Building CXX object src/test/system/CMakeFiles/systest.dir/systest_settings.cc.o 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 [ 17%] Linking CXX static library ../../lib/libcls_rgw_gc_client.a [ 17%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_types.dir/leader_watcher/Types.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 17%] Linking CXX static library ../../lib/libcls_user_client.a [ 17%] Built target cls_cas [ 17%] Built target cls_rgw_gc_client /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 3%] Building CXX object CMakeFiles/rocksdb.dir/db/compaction_picker.cc.o [ 17%] Building CXX object src/json_spirit/CMakeFiles/json_spirit.dir/json_spirit_reader.cpp.o [ 17%] Building CXX object src/common/CMakeFiles/crc32.dir/crc32c.cc.o [ 17%] Built target cls_user_client reading sources... [ 4%] 8/ceph-authtool [ 3%] Building CXX object CMakeFiles/rocksdb.dir/db/compaction_picker_fifo.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 17%] Linking CXX shared library ../../lib/libcls_rgw_gc.so reading sources... [ 7%] 8/ceph-bluestore-tool reading sources... [ 9%] 8/ceph-clsinfo [ 17%] Building C object src/common/CMakeFiles/crc32.dir/crc32c_intel_baseline.c.o reading sources... [ 11%] 8/ceph-conf reading sources... [ 14%] 8/ceph-create-keys reading sources... [ 16%] 8/ceph-debugpack [ 17%] Building C object src/common/CMakeFiles/crc32.dir/sctp_crc32.c.o reading sources... [ 19%] 8/ceph-dencoder reading sources... [ 21%] 8/ceph-deploy /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/async/AsyncConnection.cc:28: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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... [ 23%] 8/ceph-diff-sorted /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 reading sources... [ 26%] 8/ceph-fuse [ 17%] Building C object src/common/CMakeFiles/crc32.dir/crc32c_aarch64.c.o reading sources... [ 28%] 8/ceph-immutable-object-cache [ 17%] Built target cls_rgw_gc [ 17%] Linking CXX executable ../../../bin/ceph_test_mon_rss_usage [ 17%] Building CXX object src/json_spirit/CMakeFiles/json_spirit.dir/json_spirit_writer.cpp.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 reading sources... [ 30%] 8/ceph-kvstore-tool reading sources... [ 33%] 8/ceph-mds reading sources... [ 35%] 8/ceph-mon [ 17%] Building CXX object src/librados/CMakeFiles/librados_impl.dir/IoCtxImpl.cc.o reading sources... [ 38%] 8/ceph-osd In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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... [ 40%] 8/ceph-post-file reading sources... [ 42%] 8/ceph-rbdnamer reading sources... [ 45%] 8/ceph-run [ 17%] Building CXX object src/test/librados_test_stub/CMakeFiles/rados_test_stub.dir/TestMemIoCtxImpl.cc.o [ 17%] Built target ceph_test_mon_rss_usage reading sources... [ 47%] 8/ceph-syn In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage/src/auth/AuthAuthorizeHandler.h:18, from /builddir/build/BUILD/dsms-storage/src/auth/none/AuthNoneAuthorizeHandler.h:18, from /builddir/build/BUILD/dsms-storage/src/auth/none/AuthNoneAuthorizeHandler.cc:15: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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... [ 50%] 8/ceph-volume [ 17%] Building CXX object src/test/system/CMakeFiles/systest.dir/st_rados_create_pool.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 17%] Built target crypto_plugins reading sources... [ 52%] 8/ceph-volume-systemd reading sources... [ 54%] 8/cephadm [ 17%] Building CXX object src/CMakeFiles/krbd.dir/krbd.cc.o reading sources... [ 57%] 8/crushtool [ 3%] Building CXX object CMakeFiles/rocksdb.dir/db/compaction_picker_universal.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_basic_types.h:9, from /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_types.h:14, from /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_ops.h:7, from /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_ops.cc:4: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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... [ 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 [ 17%] Linking CXX static library ../../lib/libcrc32.a [ 18%] Building CXX object src/test/system/CMakeFiles/systest.dir/st_rados_delete_pool.cc.o reading sources... [ 71%] 8/rados [ 18%] Linking CXX shared library ../../lib/libcls_queue.so [ 18%] Built target crc32 reading sources... [ 73%] 8/radosgw [ 18%] Generate rgw_iam_policy_keywords.frag.cc /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage/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/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/cls/CMakeFiles/cls_rbd_client.dir/rbd/cls_rbd_client.cc.o reading sources... [ 76%] 8/radosgw-admin In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/cls/rbd/cls_rbd_types.h:10: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/librbd/journal/Types.cc:628:9: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 18%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/LogEntry.cc.o [ 18%] Built target erasure_code_objs [ 18%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_finisher.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestWatchNotify.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestCluster.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestMemCluster.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestMemCluster.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 18%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ostream_temp.cc.o [ 18%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/ClusterWatcher.cc.o [ 18%] Building CXX object src/journal/CMakeFiles/journal.dir/Entry.cc.o [ 18%] Built target cls_queue [ 18%] Building C object src/erasure-code/shec/CMakeFiles/shec_utils.dir/determinant.c.o [ 18%] Building CXX object src/test/erasure-code/CMakeFiles/ec_example.dir/ErasureCodePluginExample.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/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage/src/tools/immutable_object_cache/CacheController.h:7, from /builddir/build/BUILD/dsms-storage/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( | ^~~~~~~~~~~~~~~~~~~~ reading sources... [ 78%] 8/rbd In file included from /builddir/build/BUILD/dsms-storage/src/librbd/Watcher.h:10, from /builddir/build/BUILD/dsms-storage/src/librbd/watcher/Utils.h:10, from /builddir/build/BUILD/dsms-storage/src/librbd/mirroring_watcher/Types.cc:8: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/common/Formatter.h:9, from /builddir/build/BUILD/dsms-storage/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/src/tools/immutable_object_cache/ObjectCacheStore.h:9, from /builddir/build/BUILD/dsms-storage/src/tools/immutable_object_cache/CacheController.h:10: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/tools/immutable_object_cache/SimplePolicy.h:9, from /builddir/build/BUILD/dsms-storage/src/tools/immutable_object_cache/ObjectCacheStore.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: 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/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/ec_base.c.o In file included from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestIoCtxImpl.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestIoCtxImpl.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/test/librados_test_stub/TestIoCtxImpl.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ reading sources... [ 80%] 8/rbd-fuse reading sources... [ 83%] 8/rbd-ggate reading sources... [ 85%] 8/rbd-mirror reading sources... [ 88%] 8/rbd-nbd reading sources... [ 90%] 8/rbd-replay In file included from /builddir/build/BUILD/dsms-storage/src/librbd/Watcher.h:10, from /builddir/build/BUILD/dsms-storage/src/librbd/watcher/Utils.h:10, from /builddir/build/BUILD/dsms-storage/src/librbd/trash_watcher/Types.cc:8: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/common/Formatter.h:9, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 18%] Building CXX object src/test/system/CMakeFiles/systest.dir/st_rados_list_objects.cc.o reading sources... [ 92%] 8/rbd-replay-many reading sources... [ 95%] 8/rbd-replay-prep [ 18%] Building C object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/aarch64/ec_aarch64_highlevel_func.c.o reading sources... [ 97%] 8/rbdmap reading sources... [100%] 8/rgw-orphan-list looking for now-outdated files... none found pickling environment... [ 18%] Building CXX object src/journal/CMakeFiles/journal.dir/Future.cc.o [ 18%] Building C object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/aarch64/ec_aarch64_dispatcher.c.o In file included from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/LibradosTestStub.cc:5: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/test/librados_test_stub/LibradosTestStub.h:8, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/LibradosTestStub.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 18%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/aarch64/gf_2vect_dot_prod_neon.S.o done checking consistency... done writing... ceph-authtool.8 { } [ 18%] Building CXX object src/test/librados_test_stub/CMakeFiles/rados_test_stub.dir/TestMemRadosClient.cc.o [ 18%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/aarch64/gf_2vect_mad_neon.S.o ceph-bluestore-tool.8 { } ceph-clsinfo.8 { } ceph-conf.8 { [ 18%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/aarch64/gf_3vect_dot_prod_neon.S.o } ceph-create-keys.8 { } ceph-debugpack.8 { } ceph-dencoder.8 { } ceph-deploy.8 { 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/src/json_spirit/json_spirit_value.h:20, from /builddir/build/BUILD/dsms-storage/src/json_spirit/json_spirit_reader.h:13, from /builddir/build/BUILD/dsms-storage/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( | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 19%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/aarch64/gf_3vect_mad_neon.S.o [ 19%] Built target unit-main [ 3%] Building CXX object CMakeFiles/rocksdb.dir/db/convenience.cc.o [ 19%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/aarch64/gf_4vect_dot_prod_neon.S.o [ 19%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/aarch64/gf_4vect_mad_neon.S.o } [ 19%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/aarch64/gf_5vect_dot_prod_neon.S.o ceph-diff-sorted.8 { } ceph-fuse.8 { } ceph-immutable-object-cache.8 { [ 19%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/aarch64/gf_5vect_mad_neon.S.o } ceph-kvstore-tool.8 { } ceph-mds.8 { } ceph-mon.8 { } [ 19%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/aarch64/gf_6vect_mad_neon.S.o ceph-osd.8 { } ceph-post-file.8 { } ceph-rbdnamer.8 { } ceph-run.8 { } [ 19%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/aarch64/gf_vect_dot_prod_neon.S.o ceph-syn.8 { } ceph-volume-systemd.8 { } ceph-volume.8 { } [ 19%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/aarch64/gf_vect_mad_neon.S.o ceph.8 { } [ 19%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/aarch64/gf_vect_mul_neon.S.o cephadm.8 { } [ 19%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/aarch64/ec_multibinary_arm.S.o [ 19%] Linking CXX static library ../../../lib/libsystest.a crushtool.8 { [ 19%] Building CXX object src/erasure-code/isa/CMakeFiles/ec_isa.dir/ErasureCodeIsa.cc.o [ 19%] Building CXX object src/erasure-code/isa/CMakeFiles/ec_isa.dir/ErasureCodeIsaTableCache.cc.o [ 19%] Built target systest [ 19%] Building CXX object src/erasure-code/isa/CMakeFiles/ec_isa.dir/ErasureCodePluginIsa.cc.o } librados-config.8 { } monmaptool.8 { } mount.ceph.8 { } mount.fuse.ceph.8 { } [ 62%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/decompress/huf_decompress.c.o osdmaptool.8 { } rados.8 { } radosgw-admin.8 { [ 19%] Built target common-auth-objs } [ 65%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/decompress/zstd_decompress.c.o 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 { } In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/librbd.cc:27: /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ rbd.8 { [ 6%] Building CXX object CMakeFiles/rocksdb.dir/db/db_filesnapshot.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/async/AsyncMessenger.cc:28: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/msg/Message.h:24, from /builddir/build/BUILD/dsms-storage/src/msg/Messenger.h:27: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/test/librados_test_stub/TestIoCtxImpl.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestClassHandler.cc:5: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/objclass/../include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/objclass/../include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/objclass/../include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/objclass/objclass.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestClassHandler.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestClassHandler.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ rbdmap.8 { } rgw-orphan-list.8 { } done build succeeded. The manual pages are in .. In file included from /builddir/build/BUILD/dsms-storage/src/librbd/Watcher.h:10, from /builddir/build/BUILD/dsms-storage/src/librbd/watcher/Utils.h:10, from /builddir/build/BUILD/dsms-storage/src/librbd/WatchNotifyTypes.cc:9: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/test/compressor/compressor_example.h:27, from /builddir/build/BUILD/dsms-storage/src/test/compressor/compressor_plugin_example.cc:21: /builddir/build/BUILD/dsms-storage/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/src/compressor/CompressionPlugin.h:22, from /builddir/build/BUILD/dsms-storage/src/test/compressor/compressor_plugin_example.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/decompress/zstd_decompress_block.c.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ReadResult.h:12, from /builddir/build/BUILD/dsms-storage/src/librbd/io/AioCompletion.h:15, from /builddir/build/BUILD/dsms-storage/src/librbd/librbd.cc:42: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/msg/async/AsyncMessenger.h:23, from /builddir/build/BUILD/dsms-storage/src/msg/async/Protocol.cc:4: /builddir/build/BUILD/dsms-storage/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/src/msg/async/Protocol.h:7, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/mds/CInode.h:23: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/key_value_store/key_value_structure.h:17, from /builddir/build/BUILD/dsms-storage/src/key_value_store/kv_flat_btree_async.h:21, from /builddir/build/BUILD/dsms-storage/src/key_value_store/kvs_arg_types.h:14, from /builddir/build/BUILD/dsms-storage/src/key_value_store/cls_kvs.cc:11: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/objclass/../include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/objclass/../include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/objclass/../include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/objclass/objclass.h:9, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/librados_test_stub/TestIoCtxImpl.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestMemIoCtxImpl.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestMemIoCtxImpl.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/test/librados_test_stub/TestIoCtxImpl.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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 72%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/decompress/zstd_ddict.c.o [ 6%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/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/src/tools/immutable_object_cache/CacheClient.h:8, from /builddir/build/BUILD/dsms-storage/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( | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/objclass/../include/encoding.h:41: /builddir/build/BUILD/dsms-storage/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/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/src/key_value_store/kv_flat_btree_async.h:181:11: required from here /builddir/build/BUILD/dsms-storage/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/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_write.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/auth/AuthSessionHandler.h:20, from /builddir/build/BUILD/dsms-storage/src/msg/async/AsyncConnection.h:29, from /builddir/build/BUILD/dsms-storage/src/msg/async/Protocol.h:10: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/key_value_store/kv_flat_btree_async.h:181:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 19%] Building CXX object src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/SimplePolicy.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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_compaction_flush.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 19%] Building CXX object src/erasure-code/isa/CMakeFiles/ec_isa.dir/xor_op.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/msg/async/AsyncMessenger.h:23, from /builddir/build/BUILD/dsms-storage/src/msg/async/ProtocolV1.cc:9: /builddir/build/BUILD/dsms-storage/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/src/msg/async/Protocol.h:7, from /builddir/build/BUILD/dsms-storage/src/msg/async/ProtocolV1.h:7, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 19%] manpages building [ 19%] Built target manpages [ 19%] Building CXX object src/osdc/CMakeFiles/osdc.dir/Striper.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestMemCluster.h:9: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librados/AioCompletionImpl.h:20, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/LibradosTestStub.cc:13: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 6%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl_files.cc.o [ 19%] Built target jerasure_utils [ 6%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl_open.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/msg/async/AsyncMessenger.h:23, from /builddir/build/BUILD/dsms-storage/src/msg/async/ProtocolV2.cc:7: /builddir/build/BUILD/dsms-storage/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/src/msg/async/Protocol.h:7, from /builddir/build/BUILD/dsms-storage/src/msg/async/ProtocolV2.h:7, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/test/librados_test_stub/TestRadosClient.h:16, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestMemRadosClient.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestMemRadosClient.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/test/librados_test_stub/TestRadosClient.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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/librados/AioCompletionImpl.h:21: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 19%] Linking CXX shared library ../../../lib/libec_jerasure_neon.so In file included from /builddir/build/BUILD/dsms-storage/src/librados/AioCompletionImpl.h:20, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestIoCtxImpl.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/msg/async/ProtocolV2.cc:10: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/librados/AioCompletionImpl.h:21: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.cc:17: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 19%] Linking CXX shared library ../../../lib/libec_jerasure_generic.so [ 19%] Built target ec_jerasure_neon [ 19%] Linking CXX static library ../../../lib/librbd_mirror_types.a [ 6%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl_debug.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/cls/rbd/cls_rbd_client.cc:9: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/cls/lock/cls_lock_types.h:7, from /builddir/build/BUILD/dsms-storage/src/cls/rbd/cls_rbd_client.h:7, from /builddir/build/BUILD/dsms-storage/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 19%] Built target rbd_mirror_types [ 6%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl_experimental.cc.o [ 10%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl_readonly.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/store_test_fixture.cc:9: /builddir/build/BUILD/dsms-storage/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/src/test/objectstore/store_test_fixture.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 19%] Built target ec_jerasure_generic [ 19%] Building CXX object src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/Types.cc.o [ 10%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl_secondary.cc.o [ 19%] Building CXX object src/librados/CMakeFiles/librados_impl.dir/RadosXattrIter.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/auth/AuthSessionHandler.h:20, from /builddir/build/BUILD/dsms-storage/src/msg/async/AsyncConnection.h:29, from /builddir/build/BUILD/dsms-storage/src/msg/async/Protocol.h:10: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 19%] Building CXX object src/librados/CMakeFiles/librados_impl.dir/RadosClient.cc.o [ 19%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/Stack.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/async/AsyncMessenger.h:22: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/crush/CrushWrapper.h:14, from /builddir/build/BUILD/dsms-storage/src/test/compressor/compressor_example.h:26: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 19%] Building CXX object src/journal/CMakeFiles/journal.dir/FutureImpl.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 10%] Building CXX object CMakeFiles/rocksdb.dir/db/db_info_dumper.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/msg/async/PosixStack.h:22, from /builddir/build/BUILD/dsms-storage/src/msg/async/PosixStack.cc:25: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/cls/rbd/cls_rbd_client.cc:1455:9: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 19%] Building CXX object src/journal/CMakeFiles/journal.dir/Journaler.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/cls/rbd/cls_rbd_client.cc:852:9: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 19%] Linking CXX static library ../../lib/librbd_replay_types.a /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/cls/rbd/cls_rbd_client.cc:1455:9: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 19%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/crypto_onwire.cc.o [ 19%] Building C object src/CMakeFiles/common-objs.dir/xxHash/xxhash.c.o [ 19%] Built target rbd_replay_types In file included from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/ClusterWatcher.h:14, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/ClusterWatcher.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 19%] Building CXX object src/CMakeFiles/common-objs.dir/log/Log.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/auth/AuthSessionHandler.h:20, from /builddir/build/BUILD/dsms-storage/src/msg/async/AsyncConnection.h:29, from /builddir/build/BUILD/dsms-storage/src/msg/async/Protocol.h:10: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 19%] Building CXX object src/CMakeFiles/common-objs.dir/mon/MonCap.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 19%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/frames_v2.cc.o [ 19%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/net_handler.cc.o [ 10%] Building CXX object CMakeFiles/rocksdb.dir/db/db_iter.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/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestIoCtxImpl.h:13: /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/src/test/librados_test_stub/TestMemCluster.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestMemIoCtxImpl.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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: /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( | ^~~~~~~~~~~~~~~~~~~~ [ 19%] Building CXX object src/CMakeFiles/common-objs.dir/mon/MonClient.cc.o [ 19%] Built target shec_utils 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/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestIoCtxImpl.h:13: /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/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/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/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()) { | ^~~~ | & /builddir/build/BUILD/dsms-storage/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/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/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()) { | ^~~~ | & [ 19%] Linking CXX shared library ../../../lib/libec_jerasure.so /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MLog.h:19, from /builddir/build/BUILD/dsms-storage/src/common/LogClient.cc:17: /builddir/build/BUILD/dsms-storage/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/src/include/utime.h:18, from /builddir/build/BUILD/dsms-storage/src/common/LogEntry.h:18, from /builddir/build/BUILD/dsms-storage/src/common/LogClient.h:19, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 19%] Linking CXX shared library ../../../lib/libec_shec_neon.so [ 19%] Linking CXX shared library ../../../lib/libec_shec_generic.so In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 19%] Built target ec_jerasure In file included from /builddir/build/BUILD/dsms-storage/src/librados/IoCtxImpl.h:26, from /builddir/build/BUILD/dsms-storage/src/librados/IoCtxImpl.cc:17: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/utime.h:18, from /builddir/build/BUILD/dsms-storage/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage/src/common/Cond.h:19, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 19%] Building CXX object src/CMakeFiles/common-objs.dir/mon/MonMap.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/IoCtxImpl.h:27: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 19%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/OutputDataSocket.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/librados/IoCtxImpl.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 19%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/PluginRegistry.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_finisher.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_finisher.cc:6: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 10%] Building CXX object CMakeFiles/rocksdb.dir/db/dbformat.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/test/erasure-code/ErasureCodeExample.h:26, from /builddir/build/BUILD/dsms-storage/src/test/erasure-code/ErasureCodePluginExample.cc:22: /builddir/build/BUILD/dsms-storage/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/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage/src/erasure-code/ErasureCodePlugin.h:21, from /builddir/build/BUILD/dsms-storage/src/test/erasure-code/ErasureCodePluginExample.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 19%] Built target ec_shec_generic [ 19%] Built target ec_shec_neon [ 10%] Building CXX object CMakeFiles/rocksdb.dir/db/error_handler.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/stringify.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/LibradosTestStub.cc:6: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 19%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Readahead.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/rados/buffer.h:59, from /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:11: /builddir/build/BUILD/dsms-storage/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/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/src/test/librados_test_stub/TestMemIoCtxImpl.cc:558:30: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/librados_test_stub/TestMemCluster.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestMemRadosClient.cc:5: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 19%] Linking CXX shared library ../../../lib/libec_shec.so /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 19%] Built target ec_shec [ 19%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/RefCountedObj.cc.o [ 75%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/dictBuilder/cover.c.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 19%] Built target libglobal_objs /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 10%] Building CXX object CMakeFiles/rocksdb.dir/db/event_helpers.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 19%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/ImageDeleter.cc.o [ 19%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/EventEpoll.cc.o [ 19%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/SloppyCRCMap.cc.o [ 19%] Linking CXX static library ../../lib/libcls_cephfs_client.a In file included from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MPoolOp.h:18, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.cc:32: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 19%] Linking CXX shared library ../../lib/libcls_kvs.so [ 19%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/SubProcess.cc.o [ 19%] Built target cls_cephfs_client [ 19%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/rdma/Infiniband.cc.o [ 19%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/rdma/RDMAConnectedSocketImpl.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 20%] Building CXX object src/test/librados_test_stub/CMakeFiles/rados_test_stub.dir/TestRadosClient.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage/src/auth/KeyRing.h:18, from /builddir/build/BUILD/dsms-storage/src/krbd.cc:32: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Linking CXX shared library ../../../lib/libceph_example.so [ 20%] Built target cls_kvs [ 20%] Building CXX object src/test/librados_test_stub/CMakeFiles/rados_test_stub.dir/TestWatchNotify.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/tools/immutable_object_cache/SimplePolicy.h:9, from /builddir/build/BUILD/dsms-storage/src/tools/immutable_object_cache/SimplePolicy.cc:5: /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 20%] Built target ceph_example [ 20%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/rdma/RDMAIWARPConnectedSocketImpl.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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 CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/rdma/RDMAServerSocketImpl.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 13%] Building CXX object CMakeFiles/rocksdb.dir/db/experimental.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 13%] Building CXX object CMakeFiles/rocksdb.dir/db/external_sst_file_ingestion_job.cc.o [ 21%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/rdma/RDMAIWARPServerSocketImpl.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/common/Finisher.h:18, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage/src/common/config.h:22, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/store_test_fixture.cc:8: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 21%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/rdma/RDMAStack.cc.o [ 21%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Thread.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/crush/CrushWrapper.h:14, from /builddir/build/BUILD/dsms-storage/src/test/erasure-code/ErasureCodeExample.h:25: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/common/SloppyCRCMap.h:7, from /builddir/build/BUILD/dsms-storage/src/common/SloppyCRCMap.cc:4: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/common/SloppyCRCMap.cc:146:9: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 21%] Building CXX object src/journal/CMakeFiles/journal.dir/JournalMetadata.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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 static library ../../lib/librgw_schedulers.a [ 21%] Building CXX object src/journal/CMakeFiles/journal.dir/JournalPlayer.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Built target rgw_schedulers [ 21%] Building CXX object src/journal/CMakeFiles/journal.dir/JournalRecorder.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/async/frames_v2.h:4, from /builddir/build/BUILD/dsms-storage/src/msg/async/frames_v2.cc:15: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.cc:15: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 21%] Building CXX object src/journal/CMakeFiles/journal.dir/JournalTrimmer.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 21%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Throttle.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestWatchNotify.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestWatchNotify.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/tools/rbd_mirror/ImageDeleter.cc:15: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 13%] Building CXX object CMakeFiles/rocksdb.dir/db/file_indexer.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MLog.h:19, from /builddir/build/BUILD/dsms-storage/src/librados/RadosClient.cc:35: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/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/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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/journal/Utils.h:9, from /builddir/build/BUILD/dsms-storage/src/journal/FutureImpl.cc:5: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage/src/common/RefCountedObj.h:18, from /builddir/build/BUILD/dsms-storage/src/journal/FutureImpl.h:8, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 13%] Building CXX object CMakeFiles/rocksdb.dir/db/flush_job.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestRadosClient.h:16, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestRadosClient.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/test/librados_test_stub/TestRadosClient.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 21%] Linking CXX shared library ../../../lib/libec_isa.so In file included from /builddir/build/BUILD/dsms-storage/src/journal/Journaler.h:10, from /builddir/build/BUILD/dsms-storage/src/journal/Journaler.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 21%] Linking CXX static library ../../lib/librbd_types.a In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public 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/flush_scheduler.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/msg/async/crypto_onwire.cc:10: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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 /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/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("") | ^~~~~~~~~~~~~~~~~~~~~~~ [ 13%] Building CXX object CMakeFiles/rocksdb.dir/db/forward_iterator.cc.o [ 21%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Timer.cc.o [ 21%] Built target rbd_types In file included from /builddir/build/BUILD/dsms-storage/src/journal/ObjectPlayer.h:8, from /builddir/build/BUILD/dsms-storage/src/journal/JournalPlayer.h:12, from /builddir/build/BUILD/dsms-storage/src/journal/Journaler.cc:12: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 21%] Building CXX object src/journal/CMakeFiles/journal.dir/ObjectPlayer.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 21%] Built target ec_isa [ 21%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_bi_rados.cc.o [ 21%] Building CXX object src/journal/CMakeFiles/journal.dir/ObjectRecorder.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:31: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage/src/msg/async/crypto_onwire.h:22, from /builddir/build/BUILD/dsms-storage/src/msg/async/crypto_onwire.cc:7: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/src/os/bluestore/BlueStore.h:3536:39: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Building CXX object src/librados/CMakeFiles/librados_impl.dir/librados_util.cc.o [ 21%] Building CXX object src/journal/CMakeFiles/journal.dir/Utils.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/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/src/include/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/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/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 13%] Building CXX object CMakeFiles/rocksdb.dir/db/internal_stats.cc.o [ 13%] Building CXX object CMakeFiles/rocksdb.dir/db/in_memory_stats_history.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MAuth.h:24, from /builddir/build/BUILD/dsms-storage/src/mon/MonClient.cc:33: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 17%] Building CXX object CMakeFiles/rocksdb.dir/db/logs_with_prep_tracker.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Linking CXX static library ../../lib/libcls_rgw_client.a In file included from /builddir/build/BUILD/dsms-storage/src/journal/JournalTrimmer.h:8, from /builddir/build/BUILD/dsms-storage/src/journal/JournalTrimmer.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 17%] Building CXX object CMakeFiles/rocksdb.dir/db/log_reader.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 21%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/TracepointProvider.cc.o [ 21%] Built target cls_rgw_client [ 21%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/TrackedOp.cc.o [ 17%] Building CXX object CMakeFiles/rocksdb.dir/db/log_writer.cc.o [ 21%] Building CXX object src/CMakeFiles/common-objs.dir/mon/MonSub.cc.o [ 21%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/WorkQueue.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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%] Linking CXX shared library ../../../lib/libec_example.so [ 21%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/address_helper.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/Message.cc:11: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 17%] Building CXX object CMakeFiles/rocksdb.dir/db/malloc_stats.cc.o [ 21%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/admin_socket.cc.o [ 21%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/ImageMap.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/ImageReplayer.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Building CXX object src/librados/CMakeFiles/librados_impl.dir/librados_tp.cc.o [ 21%] Built target ec_example /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/ImageSync.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 /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/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/common/AsyncOpTracker.h:8, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestWatchNotify.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( | ^~~~~~~~~~~~~~~~~~~~ [ 21%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/InstanceReplayer.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Linking CXX static library ../../../lib/libgtest.a In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/MonMap.h:26, from /builddir/build/BUILD/dsms-storage/src/mon/MonMap.cc:4: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 21%] Built target gtest [ 21%] Building CXX object src/googletest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o [ 21%] Building CXX object src/googletest/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librados/AioCompletionImpl.h:20, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestRadosClient.cc:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MPGStats.h:56:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 21%] Building CXX object src/test/librbd/CMakeFiles/rbd_test_support.dir/test_support.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMonPaxos.h:108:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/messages/MConfig.h:39:11: required from here /builddir/build/BUILD/dsms-storage/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/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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/librados/AioCompletionImpl.h:21: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/ImageDeleter.cc:24: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMonElection.h:101:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/src/messages/MMonGetPurgedSnapsReply.h:35:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 CXX object src/common/CMakeFiles/common-common-objs.dir/admin_socket_client.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::pair, ceph::buffer::v15_2_0::list, std::less >, std::allocator, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestWatchNotify.cc:387:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::pair, ceph::buffer::v15_2_0::list, std::less >, std::allocator, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::pair, ceph::buffer::v15_2_0::list, std::less >, std::allocator, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 17%] Building CXX object CMakeFiles/rocksdb.dir/db/memtable.cc.o [ 17%] Building CXX object CMakeFiles/rocksdb.dir/db/memtable_list.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::pair, ceph::buffer::v15_2_0::list, std::less >, std::allocator, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::pair, ceph::buffer::v15_2_0::list, std::less >, std::allocator, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestWatchNotify.cc:387:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::pair, ceph::buffer::v15_2_0::list, std::less >, std::allocator, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::pair, ceph::buffer::v15_2_0::list, std::less >, std::allocator, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 21%] Building CXX object src/cls/CMakeFiles/cls_rbd_client.dir/rbd/cls_rbd_types.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 17%] Building CXX object CMakeFiles/rocksdb.dir/db/merge_helper.cc.o /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 22%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/assert.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 20%] Building CXX object CMakeFiles/rocksdb.dir/db/merge_operator.cc.o [ 79%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/dictBuilder/fastcover.c.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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) { | ^ /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/dictBuilder/divsufsort.c.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrConfigure.h:61:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 22%] Linking CXX static library ../../../lib/libgtest_main.a [ 22%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/bit_str.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 22%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/blkdev.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 22%] Linking CXX executable ../../../bin/ceph_test_mon_memory_target [ 22%] Built target gtest_main [ 22%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_bilog_rados.cc.o [ 22%] Linking CXX static library ../../../lib/libceph_immutable_object_cache_lib.a /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 20%] Building CXX object CMakeFiles/rocksdb.dir/db/range_del_aggregator.cc.o [ 22%] Built target store_test_fixture [ 20%] Building CXX object CMakeFiles/rocksdb.dir/db/range_tombstone_fragmenter.cc.o [ 22%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/bloom_filter.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 22%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_bucket.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/journal/JournalMetadata.h:9, from /builddir/build/BUILD/dsms-storage/src/journal/JournalMetadata.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/journal/JournalPlayer.h:9, from /builddir/build/BUILD/dsms-storage/src/journal/JournalPlayer.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/PriorityCache.h:19, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 22%] Built target ceph_test_mon_memory_target /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/journal/JournalRecorder.h:9, from /builddir/build/BUILD/dsms-storage/src/journal/JournalRecorder.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 20%] Building CXX object CMakeFiles/rocksdb.dir/db/repair.cc.o [ 22%] Built target ceph_immutable_object_cache_lib /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 20%] Building CXX object CMakeFiles/rocksdb.dir/db/snapshot_impl.cc.o [ 86%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/dictBuilder/zdict.c.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/journal/ObjectPlayer.h:8, from /builddir/build/BUILD/dsms-storage/src/journal/JournalPlayer.h:12: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 22%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_bucket_sobj.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MPGStats.h:56:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMonPaxos.h:108:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/messages/MConfig.h:39:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMonElection.h:101:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 22%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_bucket_sync_sobj.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/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/common/AsyncOpTracker.h:8, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestWatchNotify.h:8, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestRadosClient.h:19: /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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/messages/MMonGetPurgedSnapsReply.h:35:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 22%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_argparse.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 89%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/deprecated/zbuff_common.c.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_bi_rados.h:20, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_bi_rados.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 22%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_context.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 22%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_crypto.cc.o [ 22%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_frag.cc.o [ 93%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/deprecated/zbuff_compress.c.o [ 96%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/deprecated/zbuff_decompress.c.o In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_support.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_support.cc:3: /builddir/build/BUILD/dsms-storage/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/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 | ^~~~~~~~ [ 22%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_cls.cc.o [ 20%] Building CXX object CMakeFiles/rocksdb.dir/db/table_cache.cc.o [ 22%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_fs.cc.o [ 20%] Building CXX object CMakeFiles/rocksdb.dir/db/table_properties_collector.cc.o /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 20%] Building CXX object CMakeFiles/rocksdb.dir/db/transaction_log_impl.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 22%] Building CXX object src/CMakeFiles/common-objs.dir/mgr/MgrClient.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 22%] Built target crush_objs /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrConfigure.h:61:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 22%] Building CXX object src/CMakeFiles/common-objs.dir/mon/PGMap.cc.o [ 22%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_hash.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [100%] Linking C static library libzstd.a In file included from /builddir/build/BUILD/dsms-storage/src/journal/ObjectPlayer.h:8, from /builddir/build/BUILD/dsms-storage/src/journal/ObjectPlayer.cc:4: /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/journal/ObjectPlayer.h:9: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 22%] Building CXX object src/erasure-code/clay/CMakeFiles/ec_clay.dir/ErasureCodePluginClay.cc.o [100%] Built target libzstd_static [ 22%] Building CXX object src/erasure-code/clay/CMakeFiles/ec_clay.dir/ErasureCodeClay.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestRadosClient.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 22%] Building CXX object src/CMakeFiles/common-objs.dir/mgr/ServiceMap.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 22%] Performing install step for 'zstd_ext' In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/stringify.h:7, from /builddir/build/BUILD/dsms-storage/src/mon/MonClient.cc:25: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/messages/MConfig.h:39:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 22%] Completed 'zstd_ext' [ 22%] Building CXX object src/CMakeFiles/common-objs.dir/osd/ECMsgTypes.cc.o [ 22%] Built target zstd_ext /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 22%] Building CXX object src/erasure-code/clay/CMakeFiles/ec_clay.dir/__/__/common/str_map.cc.o /builddir/build/BUILD/dsms-storage/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/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/src/journal/ObjectPlayer.cc:270:30: required from here /builddir/build/BUILD/dsms-storage/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/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/src/journal/ObjectRecorder.h:9, from /builddir/build/BUILD/dsms-storage/src/journal/ObjectRecorder.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/utime.h:18, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 24%] Building CXX object CMakeFiles/rocksdb.dir/db/version_builder.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/journal/Utils.h:9, from /builddir/build/BUILD/dsms-storage/src/journal/Utils.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Building CXX object CMakeFiles/rocksdb.dir/db/version_edit.cc.o [ 24%] Building CXX object CMakeFiles/rocksdb.dir/db/version_set.cc.o [ 24%] Building CXX object CMakeFiles/rocksdb.dir/db/wal_manager.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/IoCtxImpl.h:26, from /builddir/build/BUILD/dsms-storage/src/librados/librados_util.h:4, from /builddir/build/BUILD/dsms-storage/src/librados/librados_util.cc:1: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/utime.h:18, from /builddir/build/BUILD/dsms-storage/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage/src/common/Cond.h:19, from /builddir/build/BUILD/dsms-storage/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/src/librados/IoCtxImpl.h:27: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: 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 [ 24%] Building CXX object CMakeFiles/rocksdb.dir/db/write_batch_base.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/librados/IoCtxImpl.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 22%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_json.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/cls/rbd/cls_rbd_types.h:10, from /builddir/build/BUILD/dsms-storage/src/cls/rbd/cls_rbd_types.cc:5: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/cls/rbd/cls_rbd_types.cc:748:9: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/librados/RadosClient.cc:25: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 22%] Linking CXX static library ../../../lib/librbd_test_support.a /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 22%] Built target rbd_test_support [ 24%] Building CXX object CMakeFiles/rocksdb.dir/db/write_controller.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 22%] Building CXX object src/compressor/zstd/CMakeFiles/ceph_zstd.dir/CompressionPluginZstd.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MMonCommand.h:18, from /builddir/build/BUILD/dsms-storage/src/common/admin_socket.cc:32: /builddir/build/BUILD/dsms-storage/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/src/common/admin_socket.h:22, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/Utils.h:7, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/ImageMap.cc:9: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/src/include/denc.h:1554:23: required 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/src/messages/MMonGetPurgedSnapsReply.h:35:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 22%] Linking CXX shared library ../../lib/libcls_rbd.so /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/messages/MConfig.h:39:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 27%] Building CXX object CMakeFiles/rocksdb.dir/db/write_thread.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 27%] Building CXX object CMakeFiles/rocksdb.dir/env/env.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 27%] Building CXX object CMakeFiles/rocksdb.dir/env/env_chroot.cc.o [ 22%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_strings.cc.o [ 22%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_releases.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 22%] Built target cls_rbd [ 22%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_time.cc.o [ 27%] Building CXX object CMakeFiles/rocksdb.dir/env/env_encryption.cc.o [ 22%] Building CXX object src/test/rbd_mirror/CMakeFiles/rbd_mirror_test.dir/test_ClusterWatcher.cc.o [ 27%] Building CXX object CMakeFiles/rocksdb.dir/env/env_hdfs.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/ImageSync.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/ImageSync.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Utils.h:7, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/InstanceReplayer.cc:10: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/stringify.h:4, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 22%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/cmdparse.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h: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/src/include/denc.h:1005:15: required from 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/messages/MMonGetPurgedSnapsReply.h:35:11: required from here /builddir/build/BUILD/dsms-storage/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/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 In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_bilog_rados.h:20, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_bilog_rados.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 22%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/code_environment.cc.o [ 22%] Linking CXX static library ../../../lib/libgmock.a /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/journal/Journaler.h:10, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/ImageReplayer.cc:14: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/common/Formatter.h:9, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 22%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/common_init.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/common/histogram.h:18, from /builddir/build/BUILD/dsms-storage/src/common/TrackedOp.h:19, from /builddir/build/BUILD/dsms-storage/src/common/TrackedOp.cc:13: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 22%] Built target gmock /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 22%] Building CXX object src/googletest/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 22%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/compat.cc.o [ 27%] Building CXX object CMakeFiles/rocksdb.dir/env/mock_env.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/ImageReplayer.cc:16: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 CXX object CMakeFiles/rocksdb.dir/memtable/alloc_tracker.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 22%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/condition_variable_debug.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_bucket.h:20, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_bucket.cc:5: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/ImageReplayer.cc:18: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public 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/memtable/hash_linklist_rep.cc.o [ 22%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/config.cc.o [ 22%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/config_values.cc.o [ 23%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/dns_resolve.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_bucket_sync_sobj.h:20, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_bucket_sync_sobj.cc:1: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 31%] Building CXX object CMakeFiles/rocksdb.dir/memtable/hash_skiplist_rep.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_bucket_sobj.h:20, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_bucket_sobj.cc:5: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 31%] Building CXX object CMakeFiles/rocksdb.dir/memtable/skiplistrep.cc.o [ 31%] Building CXX object CMakeFiles/rocksdb.dir/memtable/vectorrep.cc.o [ 23%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/dout.cc.o [ 31%] Building CXX object CMakeFiles/rocksdb.dir/memtable/write_buffer_manager.cc.o [ 31%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/histogram.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 23%] Linking CXX static library ../lib/libkrbd.a In file included from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.cc:20: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 31%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/histogram_windowing.cc.o [ 23%] Built target krbd In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.cc:16: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/monitoring/instrumented_mutex.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_cls.h:22, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_cls.cc:5: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 23%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/entity_name.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/CMakeFiles/common-objs.dir/osd/HitSet.cc.o [ 24%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/InstanceWatcher.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 24%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/environment.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage/src/mgr/ServiceMap.h:11, from /builddir/build/BUILD/dsms-storage/src/mgr/ServiceMap.cc:4: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mgr/ServiceMap.cc:20:9: required from here /builddir/build/BUILD/dsms-storage/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/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/errno.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mgr/ServiceMap.cc:20:9: required from here /builddir/build/BUILD/dsms-storage/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/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/libgmock_main.a [ 24%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/escape.cc.o [ 24%] Built target gmock_main [ 25%] Building CXX object src/test/journal/CMakeFiles/journal_test_mock.dir/mock/MockJournaler.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 31%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/iostats_context.cc.o [ 25%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/fd.cc.o [ 25%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/fs_types.cc.o [ 34%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/perf_context.cc.o [ 34%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/perf_level.cc.o [ 34%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/statistics.cc.o [ 25%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/hex.cc.o [ 34%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/thread_status_impl.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 [ 34%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/thread_status_util_debug.cc.o [ 37%] Building CXX object CMakeFiles/rocksdb.dir/options/cf_options.cc.o [ 25%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/histogram.cc.o [ 25%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/hobject.cc.o [ 37%] Building CXX object CMakeFiles/rocksdb.dir/options/db_options.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 37%] Building CXX object CMakeFiles/rocksdb.dir/options/options.cc.o [ 37%] Building CXX object CMakeFiles/rocksdb.dir/options/options_helper.cc.o [ 25%] Building CXX object src/test/librbd/CMakeFiles/rbd_test_mock.dir/mock/MockImageCtx.cc.o [ 37%] Building CXX object CMakeFiles/rocksdb.dir/options/options_parser.cc.o [ 25%] Building CXX object src/test/rgw/CMakeFiles/unittest_rgw_string.dir/test_rgw_string.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_context.cc:33: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 25%] Building CXX object src/test/librbd/CMakeFiles/rbd_test_mock.dir/mock/MockJournal.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/mon/PGMap.h:27, from /builddir/build/BUILD/dsms-storage/src/mon/PGMap.cc:6: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public 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 CMakeFiles/rocksdb.dir/options/options_sanity_check.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_ClusterWatcher.cc:3: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 37%] Building CXX object CMakeFiles/rocksdb.dir/port/stack_trace.cc.o [ 37%] Building CXX object CMakeFiles/rocksdb.dir/table/adaptive_table_factory.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/ECMsgTypes.h:18, from /builddir/build/BUILD/dsms-storage/src/osd/ECMsgTypes.cc:15: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/common/admin_socket.cc:19: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/erasure-code/clay/ErasureCodeClay.cc:27: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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 CMakeFiles/rocksdb.dir/table/block.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 CMakeFiles/rocksdb.dir/table/block_based_filter_block.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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 CMakeFiles/rocksdb.dir/table/block_based_table_builder.cc.o [ 41%] Building CXX object CMakeFiles/rocksdb.dir/table/block_based_table_factory.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 41%] Building CXX object CMakeFiles/rocksdb.dir/table/block_based_table_reader.cc.o [ 25%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/hostname.cc.o [ 41%] Building CXX object CMakeFiles/rocksdb.dir/table/block_builder.cc.o [ 25%] Linking CXX static library ../../lib/libjournal.a [ 25%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ipaddr.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 25%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/iso_8601.cc.o [ 41%] Building CXX object CMakeFiles/rocksdb.dir/table/block_fetcher.cc.o [ 25%] Building C object src/common/CMakeFiles/common-common-objs.dir/linux_version.c.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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] In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/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 /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/block_prefix_index.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 44%] Building CXX object CMakeFiles/rocksdb.dir/table/bloom_block.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 CMakeFiles/rocksdb.dir/table/cuckoo_table_builder.cc.o /builddir/build/BUILD/dsms-storage/src/common/TrackedOp.cc: In constructor 'OpTracker::OpTracker(ceph::common::CephContext*, bool, uint32_t)': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 25%] Built target journal [ 25%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_config_key_rados.cc.o [ 25%] Building CXX object src/test/CMakeFiles/unittest_any.dir/test_any.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 25%] Building CXX object src/CMakeFiles/common-objs.dir/osd/OSDMap.cc.o [ 44%] Building CXX object CMakeFiles/rocksdb.dir/table/cuckoo_table_factory.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/messages/MPGStats.h:18, from /builddir/build/BUILD/dsms-storage/src/mgr/MgrClient.cc:30: /builddir/build/BUILD/dsms-storage/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/src/mgr/MgrClient.h:17, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/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/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/src/rocksdb/options/options_parser.cc:412:21: note: use reference type to prevent copying 412 | for (const auto pair : opt_map) { | ^~~~ | & [ 44%] Building CXX object CMakeFiles/rocksdb.dir/table/cuckoo_table_reader.cc.o [ 44%] Building CXX object CMakeFiles/rocksdb.dir/table/data_block_hash_index.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 44%] Building CXX object CMakeFiles/rocksdb.dir/table/data_block_footer.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 25%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/lockdep.cc.o [ 25%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/mempool.cc.o [ 25%] Building C object src/common/CMakeFiles/common-common-objs.dir/mime.c.o [ 25%] Building CXX object src/CMakeFiles/common-objs.dir/osd/OSDMapMapping.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 25%] Building CXX object src/CMakeFiles/common-objs.dir/osd/osd_types.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 25%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/mutex_debug.cc.o [ 25%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/numa.cc.o [ 25%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/options.cc.o [ 25%] Building CXX object src/CMakeFiles/common-objs.dir/osd/PGPeeringEvent.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 CMakeFiles/rocksdb.dir/table/flush_block_policy.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/cls/otp/cls_otp_types.h:4, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 25%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/page.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 48%] Building CXX object CMakeFiles/rocksdb.dir/table/format.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/perf_counters.cc.o [ 26%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/perf_counters_collection.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.cc:16: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Linking CXX static library ../../../lib/librados_test_stub.a /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 48%] Building CXX object CMakeFiles/rocksdb.dir/table/full_filter_block.cc.o [ 26%] Linking CXX shared library ../../../lib/libceph_zstd.so [ 26%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/perf_histogram.cc.o [ 26%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/Instances.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::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/src/test/journal/mock/MockJournaler.h:9, from /builddir/build/BUILD/dsms-storage/src/test/journal/mock/MockJournaler.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/googletest/googlemock/include/gmock/gmock-actions.h:137, from /builddir/build/BUILD/dsms-storage/src/googletest/googlemock/include/gmock/gmock.h:59, from /builddir/build/BUILD/dsms-storage/src/test/journal/mock/MockJournaler.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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 48%] Building CXX object CMakeFiles/rocksdb.dir/table/get_context.cc.o [ 26%] Built target rados_test_stub [ 26%] Building CXX object src/test/CMakeFiles/unittest_weighted_shuffle.dir/test_weighted_shuffle.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage/src/erasure-code/clay/ErasureCodeClay.cc:22: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MPGStats.h:19: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 26%] Built target ceph_zstd /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Linking CXX executable ../../../bin/unittest_rgw_string [ 26%] Building CXX object src/test/common/CMakeFiles/unittest_random.dir/test_random.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 26%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/pick_address.cc.o [ 48%] Building CXX object CMakeFiles/rocksdb.dir/table/index_builder.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 48%] Building CXX object CMakeFiles/rocksdb.dir/table/iterator.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/librbd/mock/MockImageCtx.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 48%] Building CXX object CMakeFiles/rocksdb.dir/table/merging_iterator.cc.o [ 26%] Built target unittest_rgw_string /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 48%] Building CXX object CMakeFiles/rocksdb.dir/table/meta_blocks.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 51%] Building CXX object CMakeFiles/rocksdb.dir/table/partitioned_filter_block.cc.o [ 26%] Building CXX object src/test/common/CMakeFiles/unittest_convenience.dir/test_convenience.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/LeaderWatcher.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/Mirror.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 26%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/rabin.cc.o [ 26%] Linking CXX static library ../../lib/libcls_rbd_client.a In file included from /builddir/build/BUILD/dsms-storage/src/include/rados/buffer.h:59, from /builddir/build/BUILD/dsms-storage/src/include/rados/rados_types.hpp:10, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:32: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 26%] Built target cls_rbd_client [ 51%] Building CXX object CMakeFiles/rocksdb.dir/table/persistent_cache_helper.cc.o [ 26%] Building CXX object src/test/common/CMakeFiles/unittest_split.dir/test_split.cc.o [ 51%] Building CXX object CMakeFiles/rocksdb.dir/table/plain_table_builder.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:33: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/common/config.cc:23: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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 CXX object src/test/common/CMakeFiles/unittest_static_ptr.dir/test_static_ptr.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Watcher.h:10, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/InstanceWatcher.h:14, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/InstanceWatcher.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 26%] Building CXX object src/test/common/CMakeFiles/unittest_async_completion.dir/test_async_completion.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 51%] Building CXX object CMakeFiles/rocksdb.dir/table/plain_table_factory.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 51%] Building CXX object CMakeFiles/rocksdb.dir/table/plain_table_index.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 26%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/random_string.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 51%] Building CXX object CMakeFiles/rocksdb.dir/table/plain_table_key_coding.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 51%] Building CXX object CMakeFiles/rocksdb.dir/table/plain_table_reader.cc.o [ 51%] Building CXX object CMakeFiles/rocksdb.dir/table/sst_file_reader.cc.o [ 26%] Linking CXX executable ../../bin/unittest_weighted_shuffle [ 55%] Building CXX object CMakeFiles/rocksdb.dir/table/sst_file_writer.cc.o [ 26%] Building C object src/common/CMakeFiles/common-common-objs.dir/reverse.c.o [ 26%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/run_cmd.cc.o [ 26%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/scrub_types.cc.o [ 26%] Built target unittest_weighted_shuffle [ 55%] Building CXX object CMakeFiles/rocksdb.dir/table/table_properties.cc.o [ 26%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/shared_mutex_debug.cc.o [ 26%] Linking CXX executable ../../../bin/unittest_convenience [ 26%] Building CXX object src/CMakeFiles/common-objs.dir/osd/OpRequest.cc.o [ 26%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/signal.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_rados.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_config_key_rados.cc:2: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 26%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/MirrorStatusUpdater.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 26%] Built target unittest_convenience [ 26%] Building CXX object src/test/common/CMakeFiles/unittest_ceph_timer.dir/test_ceph_timer.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage/src/msg/Connection.h:21, from /builddir/build/BUILD/dsms-storage/src/mgr/MgrClient.h:19: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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 compressor_plugins [ 55%] Building CXX object CMakeFiles/rocksdb.dir/table/two_level_iterator.cc.o [ 26%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/snap_types.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 55%] Building CXX object CMakeFiles/rocksdb.dir/tools/db_bench_tool.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/health.h:9, from /builddir/build/BUILD/dsms-storage/src/mon/PGMap.h:24: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 55%] Building CXX object CMakeFiles/rocksdb.dir/tools/dump/db_dump_tool.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrConfigure.h:61:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 26%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/str_list.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Building CXX object CMakeFiles/rocksdb.dir/tools/ldb_cmd.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 55%] Building CXX object CMakeFiles/rocksdb.dir/tools/ldb_tool.cc.o [ 26%] Linking CXX executable ../../../bin/unittest_random In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 CMakeFiles/rocksdb.dir/tools/sst_dump_tool.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 58%] Building CXX object CMakeFiles/rocksdb.dir/tools/trace_analyzer_tool.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/MirrorStatusWatcher.cc.o [ 58%] Building CXX object CMakeFiles/rocksdb.dir/util/arena.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.cc:4: /builddir/build/BUILD/dsms-storage/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/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage/src/common/RefCountedObj.h:18, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of '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/src/include/denc.h:1554:23: required from '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/src/mon/PGMap.cc:80:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 58%] Building CXX object CMakeFiles/rocksdb.dir/util/auto_roll_logger.cc.o [ 26%] Built target unittest_random [ 26%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_datalog_rados.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MPGStats.h:56:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 26%] Linking CXX static library ../../lib/libjson_spirit.a /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/PGMap.cc:1528:9: required from here /builddir/build/BUILD/dsms-storage/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/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 In file included from /builddir/build/BUILD/dsms-storage/src/librbd/Utils.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/Journal.h:19: /builddir/build/BUILD/dsms-storage/src/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 CMakeFiles/rocksdb.dir/util/bloom.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 26%] Built target json_spirit [ 58%] Building CXX object CMakeFiles/rocksdb.dir/util/coding.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 26%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/str_map.cc.o [ 26%] Building CXX object src/erasure-code/lrc/CMakeFiles/ec_lrc.dir/ErasureCodePluginLrc.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::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 CMakeFiles/rocksdb.dir/util/compaction_job_stats_impl.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMapMapping.h:11, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMapMapping.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrConfigure.h:61:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.cc:24: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 26%] Building CXX object src/cls/CMakeFiles/cls_refcount.dir/refcount/cls_refcount.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 26%] Linking CXX executable ../../../bin/unittest_split /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 26%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/strtol.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 26%] Building CXX object src/cls/CMakeFiles/cls_refcount.dir/refcount/cls_refcount_ops.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/src/mon/PGMap.cc:72:9: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 26%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/types.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/PGMap.cc:78:9: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required from '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/src/mon/PGMap.cc:80:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 58%] Building CXX object CMakeFiles/rocksdb.dir/util/comparator.cc.o [ 62%] Building CXX object CMakeFiles/rocksdb.dir/util/compression_context_cache.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MPGStats.h:56:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/PGMap.cc:1528:9: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 26%] Linking CXX executable ../../../bin/unittest_static_ptr [ 26%] Built target unittest_split [ 62%] Building CXX object CMakeFiles/rocksdb.dir/util/concurrent_arena.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.cc:38: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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 CMakeFiles/rocksdb.dir/util/concurrent_task_limiter_impl.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 62%] Building CXX object CMakeFiles/rocksdb.dir/util/crc32c.cc.o [ 26%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/url_escape.cc.o [ 62%] Building CXX object CMakeFiles/rocksdb.dir/util/delete_scheduler.cc.o [ 26%] Building CXX object src/cls/CMakeFiles/cls_rgw.dir/rgw/cls_rgw.cc.o [ 26%] Linking CXX static library ../../lib/librbd_api.a In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/PGPeeringEvent.h:8, from /builddir/build/BUILD/dsms-storage/src/osd/PGPeeringEvent.cc:5: /builddir/build/BUILD/dsms-storage/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/src/include/mempool.h:19, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 26%] Built target unittest_static_ptr [ 62%] Building CXX object CMakeFiles/rocksdb.dir/util/dynamic_bloom.cc.o [ 26%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_mdlog.cc.o [ 26%] Building CXX object src/cls/CMakeFiles/cls_lua.dir/lua/cls_lua.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/MirrorStatusUpdater.h:7, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/MirrorStatusUpdater.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 26%] Built target rbd_api In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:21: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 26%] Building CXX object src/CMakeFiles/common-objs.dir/osd/ClassHandler.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 26%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_meta.cc.o [ 62%] Building CXX object CMakeFiles/rocksdb.dir/util/event_logger.cc.o [ 26%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_meta_be.cc.o [ 65%] Building CXX object CMakeFiles/rocksdb.dir/util/file_reader_writer.cc.o [ 26%] Building C object src/common/CMakeFiles/common-common-objs.dir/utf8.c.o [ 65%] Building CXX object CMakeFiles/rocksdb.dir/util/file_util.cc.o [ 26%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/util.cc.o [ 26%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/version.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 65%] Building CXX object CMakeFiles/rocksdb.dir/util/filename.cc.o [ 65%] Building CXX object CMakeFiles/rocksdb.dir/util/filter_policy.cc.o [ 26%] Building CXX object src/cls/CMakeFiles/cls_refcount.dir/__/common/ceph_json.cc.o [ 27%] 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage/src/common/config.cc:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 65%] Building CXX object CMakeFiles/rocksdb.dir/util/hash.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 65%] Building CXX object CMakeFiles/rocksdb.dir/util/jemalloc_nodump_allocator.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/Utils.h:7, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/Instances.cc:9: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/stringify.h:4, from /builddir/build/BUILD/dsms-storage/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 65%] Building CXX object CMakeFiles/rocksdb.dir/util/log_buffer.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ManagedLock.h:9, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/LeaderWatcher.h:12, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/LeaderWatcher.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 CMakeFiles/rocksdb.dir/util/murmurhash.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/common/config.cc:1004:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 68%] Building CXX object CMakeFiles/rocksdb.dir/util/random.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 68%] Building CXX object CMakeFiles/rocksdb.dir/util/rate_limiter.cc.o [ 27%] Building CXX object src/CMakeFiles/common-objs.dir/osd/osd_op_util.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Linking CXX static library ../../../lib/libjournal_test_mock.a [ 68%] Building CXX object CMakeFiles/rocksdb.dir/util/slice.cc.o [ 28%] Building CXX object src/CMakeFiles/common-objs.dir/osdc/Striper.cc.o [ 28%] Built target journal_test_mock /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 28%] Building CXX object src/CMakeFiles/common-objs.dir/osdc/Objecter.cc.o [ 28%] Building CXX object src/CMakeFiles/common-objs.dir/librbd/Features.cc.o [ 28%] Building CXX object src/CMakeFiles/common-objs.dir/mds/MDSMap.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/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/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required from '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/src/mon/PGMap.cc:80:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 68%] Building CXX object CMakeFiles/rocksdb.dir/util/sst_file_manager_impl.cc.o [ 28%] Built target mgr_cap_obj In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/Mirror.cc:14: /builddir/build/BUILD/dsms-storage/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/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 | ^~~~~~~~ [ 28%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/NamespaceReplayer.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 28%] Building CXX object src/CMakeFiles/common-objs.dir/mds/FSMap.cc.o [ 68%] Building CXX object CMakeFiles/rocksdb.dir/util/status.cc.o [ 68%] Building CXX object CMakeFiles/rocksdb.dir/util/string_util.cc.o [ 68%] Building CXX object CMakeFiles/rocksdb.dir/util/sync_point.cc.o [ 28%] Building CXX object src/cls/CMakeFiles/cls_rgw.dir/rgw/cls_rgw_ops.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/sync_point_impl.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 72%] Building CXX object CMakeFiles/rocksdb.dir/util/testutil.cc.o [ 72%] Building CXX object CMakeFiles/rocksdb.dir/util/thread_local.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:32: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/common/scrub_types.h:7, from /builddir/build/BUILD/dsms-storage/src/common/scrub_types.cc:1: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/common/config.cc:1004:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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 CMakeFiles/rocksdb.dir/util/threadpool_imp.cc.o [ 28%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_meta_be_sobj.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 28%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_notify.cc.o [ 72%] Building CXX object CMakeFiles/rocksdb.dir/util/trace_replay.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:33: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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 CMakeFiles/rocksdb.dir/util/transaction_test_util.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 28%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_otp.cc.o [ 28%] Linking CXX static library ../../lib/liblibrados_impl.a [ 28%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_quota.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 28%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_sync_modules.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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 CMakeFiles/rocksdb.dir/util/xxhash.cc.o [ 28%] Built target librados_impl [ 72%] Building CXX object CMakeFiles/rocksdb.dir/utilities/backupable/backupable_db.cc.o /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.cc: In member function 'void OSDMap::encode_client_old(ceph::buffer::v15_2_0::list&) const': /builddir/build/BUILD/dsms-storage/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/src/osd/OSDMap.cc:2805:19: note: use reference type to prevent copying 2805 | for (const auto pg : *pg_temp) { | ^~ | & In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 28%] Building CXX object src/test/rbd_mirror/CMakeFiles/rbd_mirror_test.dir/test_PoolWatcher.cc.o [ 28%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_rados.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/objclass/../include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/objclass/../include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/objclass/../include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/objclass/objclass.h:9, from /builddir/build/BUILD/dsms-storage/src/cls/refcount/cls_refcount.cc:6: /builddir/build/BUILD/dsms-storage/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/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/src/cls/refcount/cls_refcount_ops.h:135:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/OSDMap.cc: In member function 'void OSDMap::print(std::ostream&) const': /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/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/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/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/src/cls/refcount/cls_refcount_ops.h:135:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 28%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_sys_obj.cc.o [ 75%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_compaction_filter.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_datalog_rados.h:19, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_datalog_rados.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/osd/osd_op_util.h:9, from /builddir/build/BUILD/dsms-storage/src/osd/OpRequest.h:17, from /builddir/build/BUILD/dsms-storage/src/osd/OpRequest.cc:3: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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_db.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/btree_map.h:7, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:34, from /builddir/build/BUILD/dsms-storage/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/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/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage/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/aarch64-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/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/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/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/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/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/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/MirrorStatusUpdater.cc:11: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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.cc.o [ 75%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_db_impl_filesnapshot.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/cls/refcount/cls_refcount_ops.h:7, from /builddir/build/BUILD/dsms-storage/src/cls/refcount/cls_refcount_ops.cc:4: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/cls/refcount/cls_refcount_ops.h:135:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/cls/refcount/cls_refcount_ops.h:135:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librbd/Watcher.h:10, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/MirrorStatusWatcher.h:7, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/MirrorStatusWatcher.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage/src/common/AsyncOpTracker.h:7, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 75%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_dump_tool.cc.o [ 75%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_file.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/test/test_any.cc:20: In function 'T ceph::any_cast(_any::base&) [with T = int; U = unique_any; V = std::unique_ptr]', inlined from 'void test_cast() [with A = ceph::unique_any]' at /builddir/build/BUILD/dsms-storage/src/test/test_any.cc:641:5: /builddir/build/BUILD/dsms-storage/src/include/any.h:454:29: warning: array subscript 'int[0]' is partly outside array bounds of 'unsigned char [1]' [-Warray-bounds] 454 | return static_cast(*p); | ^ In member function 'void* ceph::unique_any::alloc_storage(std::size_t)', inlined from 'void* ceph::_any::base::alloc_storage(std::size_t) [with D = ceph::unique_any; storage_t = std::unique_ptr]' at /builddir/build/BUILD/dsms-storage/src/include/any.h:122:48, inlined from 'std::decay_t<_Up>& ceph::_any::base::construct(Args&& ...) [with T = bool; Args = {bool}; D = ceph::unique_any; storage_t = std::unique_ptr]' at /builddir/build/BUILD/dsms-storage/src/include/any.h:203:55, inlined from 'ceph::_any::base::base(T&&) [with T = bool; = void; D = ceph::unique_any; storage_t = std::unique_ptr]' at /builddir/build/BUILD/dsms-storage/src/include/any.h:267:17, inlined from 'ceph::unique_any::unique_any(T&&) [with T = bool; = void][inherited from ceph::_any::base >]' at /builddir/build/BUILD/dsms-storage/src/include/any.h:619:15, inlined from 'void test_cast() [with A = ceph::unique_any]' at /builddir/build/BUILD/dsms-storage/src/test/test_any.cc:636:7: /builddir/build/BUILD/dsms-storage/src/include/any.h:597:34: note: object of size 1 allocated by 'operator new []' 597 | storage.reset(new std::byte[z]); | ^ [ 75%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_log_reader.cc.o In function 'std::enable_if_t<((is_move_constructible_v || is_copy_constructible_v) && (! is_rvalue_reference_v)), T> ceph::any_cast(_any::base&&) [with T = int; U = unique_any; V = std::unique_ptr]', inlined from 'void test_cast() [with A = ceph::unique_any]' at /builddir/build/BUILD/dsms-storage/src/test/test_any.cc:647:5: /builddir/build/BUILD/dsms-storage/src/include/any.h:479:26: warning: array subscript 'std::remove_reference::type {aka int}[0]' is partly outside array bounds of 'unsigned char [1]' [-Warray-bounds] 479 | return std::move((*p)); | ^ In member function 'void* ceph::unique_any::alloc_storage(std::size_t)', inlined from 'void* ceph::_any::base::alloc_storage(std::size_t) [with D = ceph::unique_any; storage_t = std::unique_ptr]' at /builddir/build/BUILD/dsms-storage/src/include/any.h:122:48, inlined from 'std::decay_t<_Up>& ceph::_any::base::construct(Args&& ...) [with T = bool; Args = {bool}; D = ceph::unique_any; storage_t = std::unique_ptr]' at /builddir/build/BUILD/dsms-storage/src/include/any.h:203:55, inlined from 'ceph::_any::base::base(T&&) [with T = bool; = void; D = ceph::unique_any; storage_t = std::unique_ptr]' at /builddir/build/BUILD/dsms-storage/src/include/any.h:267:17, inlined from 'ceph::unique_any::unique_any(T&&) [with T = bool; = void][inherited from ceph::_any::base >]' at /builddir/build/BUILD/dsms-storage/src/include/any.h:619:15, inlined from 'void test_cast() [with A = ceph::unique_any]' at /builddir/build/BUILD/dsms-storage/src/test/test_any.cc:636:7: /builddir/build/BUILD/dsms-storage/src/include/any.h:597:34: note: object of size 1 allocated by 'operator new []' 597 | storage.reset(new std::byte[z]); | ^ In function 'T ceph::any_cast(const _any::base&) [with T = int; U = unique_any; V = std::unique_ptr]', inlined from 'void test_cast() [with A = ceph::unique_any]' at /builddir/build/BUILD/dsms-storage/src/test/test_any.cc:660:5: /builddir/build/BUILD/dsms-storage/src/include/any.h:467:29: warning: array subscript 'const int[0]' is partly outside array bounds of 'unsigned char [1]' [-Warray-bounds] 467 | return static_cast(*p); | ^ In member function 'void* ceph::unique_any::alloc_storage(std::size_t)', inlined from 'void* ceph::_any::base::alloc_storage(std::size_t) [with D = ceph::unique_any; storage_t = std::unique_ptr]' at /builddir/build/BUILD/dsms-storage/src/include/any.h:122:48, inlined from 'std::decay_t<_Up>& ceph::_any::base::construct(Args&& ...) [with T = bool; Args = {bool}; D = ceph::unique_any; storage_t = std::unique_ptr]' at /builddir/build/BUILD/dsms-storage/src/include/any.h:203:55, inlined from 'ceph::_any::base::base(T&&) [with T = bool; = void; D = ceph::unique_any; storage_t = std::unique_ptr]' at /builddir/build/BUILD/dsms-storage/src/include/any.h:267:17, inlined from 'ceph::unique_any::unique_any(T&&) [with T = bool; = void][inherited from ceph::_any::base >]' at /builddir/build/BUILD/dsms-storage/src/include/any.h:619:15, inlined from 'void test_cast() [with A = ceph::unique_any]' at /builddir/build/BUILD/dsms-storage/src/test/test_any.cc:655:13: /builddir/build/BUILD/dsms-storage/src/include/any.h:597:34: note: object of size 1 allocated by 'operator new []' 597 | storage.reset(new std::byte[z]); | ^ [ 75%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_log_writer.cc.o [ 79%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_log_format.cc.o [ 28%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_sys_obj_cache.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:33: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 28%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_sys_obj_core.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_meta_be.h:22, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_meta.h:19, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_meta.cc:5: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 28%] Building CXX object src/CMakeFiles/common-objs.dir/mds/FSMapUser.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_meta_be.h:22, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_meta_be.cc:5: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_mdlog.h:19, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_mdlog.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/PoolMetaCache.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 28%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/PoolReplayer.cc.o [ 79%] Building CXX object CMakeFiles/rocksdb.dir/utilities/cassandra/cassandra_compaction_filter.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 79%] Building CXX object CMakeFiles/rocksdb.dir/utilities/cassandra/format.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_meta_be_otp.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_meta_be_otp.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 CXX object CMakeFiles/rocksdb.dir/utilities/cassandra/merge_operator.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 28%] Linking CXX shared library ../../../lib/libec_clay.so [ 28%] Building CXX object src/CMakeFiles/common-objs.dir/mds/inode_backtrace.cc.o [ 28%] Building CXX object src/cls/CMakeFiles/cls_rgw.dir/rgw/cls_rgw_types.cc.o [ 28%] Linking CXX executable ../../../bin/unittest_ceph_timer In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/btree_map.h:10, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:34: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 79%] Building CXX object CMakeFiles/rocksdb.dir/utilities/checkpoint/checkpoint_impl.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.cc:31: /builddir/build/BUILD/dsms-storage/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/src/osd/osd_types.cc:4517:24: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/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/src/osd/osd_types.cc:4532:21: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Built target ec_clay [ 28%] Built target unittest_ceph_timer [ 28%] Building CXX object src/CMakeFiles/common-objs.dir/mds/mdstypes.cc.o [ 79%] Building CXX object CMakeFiles/rocksdb.dir/utilities/debug.cc.o [ 79%] Building CXX object CMakeFiles/rocksdb.dir/utilities/compaction_filters/remove_emptyvalue_compactionfilter.cc.o [ 28%] Building CXX object src/cls/CMakeFiles/cls_lua.dir/lua/lua_bufferlist.cc.o [ 28%] Linking CXX executable ../../bin/unittest_any /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/test/rbd_mirror/test_PoolWatcher.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 82%] Building CXX object CMakeFiles/rocksdb.dir/utilities/env_mirror.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of '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/src/include/denc.h:1554:23: required from '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/src/osd/OSDMap.cc:488:9: required from here /builddir/build/BUILD/dsms-storage/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/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 /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from '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/src/osd/OSDMap.cc:631:11: required from here /builddir/build/BUILD/dsms-storage/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/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 /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/osd/OSDMap.cc:640:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw.cc:4: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/btree_map.h:9: /builddir/build/BUILD/dsms-storage/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/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/src/osd/OSDMap.cc:2092:23: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 28%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/PoolWatcher.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 82%] Building CXX object CMakeFiles/rocksdb.dir/utilities/env_timed.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 28%] Built target unittest_any [ 82%] Building CXX object CMakeFiles/rocksdb.dir/utilities/leveldb_options/leveldb_options.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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 CXX object src/erasure-code/lrc/CMakeFiles/ec_lrc.dir/ErasureCodeLrc.cc.o [ 28%] Building CXX object src/erasure-code/lrc/CMakeFiles/ec_lrc.dir/__/__/common/str_map.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string > >; traits = denc_traits, std::__cxx11::basic_string > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.cc:528:9: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.cc:1909:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osd/osd_types.cc:2011:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 28%] Building CXX object src/cls/CMakeFiles/cls_rgw.dir/__/common/ceph_json.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/btree_map.h:10, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:34: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.cc:5576:9: required from here /builddir/build/BUILD/dsms-storage/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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.cc:5578:9: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Building CXX object CMakeFiles/rocksdb.dir/utilities/memory/memory_util.cc.o /builddir/build/BUILD/dsms-storage/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.cc:15: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 28%] Building CXX object src/CMakeFiles/common-objs.dir/mds/flock.cc.o [ 82%] Building CXX object CMakeFiles/rocksdb.dir/utilities/merge_operators/bytesxor.cc.o [ 28%] Linking CXX executable ../../../bin/unittest_async_completion /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/src/osd/OSDMap.cc:455:9: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required from '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/src/osd/OSDMap.cc:488:9: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required from '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/src/osd/OSDMap.cc:517:9: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osd/OSDMap.cc:631:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/osd/OSDMap.cc:640:13: required from here /builddir/build/BUILD/dsms-storage/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/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 In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/osd/osd_op_util.h:9, from /builddir/build/BUILD/dsms-storage/src/osd/osd_op_util.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 28%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/RemotePoolPoller.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 82%] Building CXX object CMakeFiles/rocksdb.dir/utilities/merge_operators/max.cc.o [ 82%] Building CXX object CMakeFiles/rocksdb.dir/utilities/merge_operators/put.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_otp.h:22, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_otp.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/tools/rbd_mirror/NamespaceReplayer.h:10, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/NamespaceReplayer.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage/src/common/AsyncOpTracker.h:7, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_quota.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_quota.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 28%] Built target unittest_async_completion In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_meta_be_sobj.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_meta_be_sobj.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 28%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/ServiceDaemon.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string > >; traits = denc_traits, std::__cxx11::basic_string > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.cc:528:9: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.cc:1909:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osd/osd_types.cc:2011:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 28%] Linking CXX static library ../../../lib/librbd_test_mock.a /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/src/osd/osd_types.cc:4677:11: required from here /builddir/build/BUILD/dsms-storage/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/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 In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_sync_modules.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_sync_modules.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.cc:5576:9: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.cc:5577:9: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 82%] Building CXX object CMakeFiles/rocksdb.dir/utilities/merge_operators/string_append/stringappend.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.cc:5578:9: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 28%] Built target rbd_test_mock [ 28%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/Threads.cc.o [ 28%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_tier_rados.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_sys_obj.h:8, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_sys_obj.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 28%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/Throttler.cc.o [ 28%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/Types.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_basic_types.h:9, from /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_types.h:14, from /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_ops.h:7, from /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_ops.cc:4: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 28%] Building CXX object src/test/rbd_mirror/CMakeFiles/rbd_mirror_test.dir/test_ImageDeleter.cc.o [ 86%] Building CXX object CMakeFiles/rocksdb.dir/utilities/merge_operators/string_append/stringappend2.cc.o [ 28%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_user.cc.o [ 86%] Building CXX object CMakeFiles/rocksdb.dir/utilities/merge_operators/uint64add.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_rados.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_rados.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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 /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/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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( | ^~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/MDSMap.h:37, from /builddir/build/BUILD/dsms-storage/src/mds/MDSMap.cc:18: /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 86%] Building CXX object CMakeFiles/rocksdb.dir/utilities/option_change_migration/option_change_migration.cc.o /builddir/build/BUILD/dsms-storage/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/options/options_util.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/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/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/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/src/osd/osd_types.cc:1849:18: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 28%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_deleter/SnapshotPurgeRequest.cc.o [ 28%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_deleter/TrashMoveRequest.cc.o [ 86%] Building CXX object CMakeFiles/rocksdb.dir/utilities/persistent_cache/block_cache_tier.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.cc:17: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 28%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_user_rados.cc.o [ 86%] Building CXX object CMakeFiles/rocksdb.dir/utilities/persistent_cache/block_cache_tier_file.cc.o /builddir/build/BUILD/dsms-storage/src/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/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/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/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/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/src/include/denc.h:1554:23: required from '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/src/osd/OSDMap.cc:631:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/tools/rbd_mirror/Types.h:13, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/Types.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cache.h:16, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_notify.cc:8: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 28%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_zone.cc.o [ 86%] Building CXX object CMakeFiles/rocksdb.dir/utilities/persistent_cache/block_cache_tier_metadata.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h: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/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h: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/src/include/denc.h:1005:15: required from 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osd/OSDMap.cc:631:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 28%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_deleter/TrashRemoveRequest.cc.o [ 28%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_deleter/TrashWatcher.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_sys_obj_cache.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_sys_obj_cache.cc:7: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/rgw/services/svc_meta_be_params.h:21, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h:1556: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/src/osd/osd_types.cc:4576:9: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/MDSMap.h:37, from /builddir/build/BUILD/dsms-storage/src/mds/FSMap.h:29, from /builddir/build/BUILD/dsms-storage/src/mds/FSMap.cc:16: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/rgw/services/svc_meta_be_params.h:21, from /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 28%] 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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_sys_obj_core.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_sys_obj_core.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 28%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_zone_utils.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/tools/rbd_mirror/RemotePoolPoller.h:7, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/RemotePoolPoller.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 89%] Building CXX object CMakeFiles/rocksdb.dir/utilities/persistent_cache/persistent_cache_tier.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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%] Building CXX object CMakeFiles/rocksdb.dir/utilities/persistent_cache/volatile_tier_impl.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 28%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_service.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_PoolWatcher.cc:12: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/simulator_cache/sim_cache.cc.o [ 89%] Building CXX object CMakeFiles/rocksdb.dir/utilities/table_properties_collectors/compact_on_deletion_collector.cc.o [ 28%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_acl.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/Types.h:13, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/PoolMetaCache.h:9, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/PoolMetaCache.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 28%] Linking CXX shared library ../../lib/libcls_lua.so In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/random.h:18, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 28%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_map/Policy.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/btree_map.h:10, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:34: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/tools/rbd_mirror/Types.h:13, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/ServiceDaemon.h:9, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/ServiceDaemon.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/tools/rbd_mirror/image_deleter/SnapshotPurgeRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_deleter/SnapshotPurgeRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/tools/rbd_mirror/image_deleter/TrashMoveRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_deleter/TrashMoveRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 89%] Building CXX object CMakeFiles/rocksdb.dir/utilities/trace/file_trace_reader_writer.cc.o [ 29%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_map/SimplePolicy.cc.o [ 89%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/optimistic_transaction_db_impl.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 89%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/optimistic_transaction.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 29%] Built target cls_lua [ 89%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/pessimistic_transaction.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 93%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/pessimistic_transaction_db.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/test/rbd_mirror/test_ImageDeleter.cc:14: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/snapshot_checker.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 93%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/transaction_base.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/tools/rbd_mirror/image_deleter/TrashWatcher.h:7, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_deleter/TrashWatcher.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/cls/otp/cls_otp_types.h:4, from /builddir/build/BUILD/dsms-storage/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/src/tools/rbd_mirror/image_deleter/TrashRemoveRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_deleter/TrashRemoveRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/tools/rbd_mirror/PoolReplayer.h:10, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/PoolReplayer.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/utime.h:18, from /builddir/build/BUILD/dsms-storage/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage/src/common/Cond.h:19, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 93%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/transaction_db_mutex_impl.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mds/MDSMap.cc:672:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 93%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/transaction_lock_mgr.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 29%] Building CXX object src/test/rbd_mirror/CMakeFiles/rbd_mirror_test.dir/test_ImageReplayer.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MPoolOp.h:18, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.cc:32: /builddir/build/BUILD/dsms-storage/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/FSMapUser.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/FSMapUser.cc:1: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/tools/rbd_mirror/PoolWatcher.h:15, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/PoolWatcher.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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 | ^~~~~~~~ [ 29%] Building CXX object src/test/rbd_mirror/CMakeFiles/rbd_mirror_test.dir/test_ImageSync.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/erasure-code/lrc/ErasureCodeLrc.cc:24: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 29%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_map/StateTransition.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/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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( | ^~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_notify.cc:5: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_tier_rados.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_tier_rados.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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_util.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_meta_be.h:22, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_user.h:20, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_user.cc:5: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/inode_backtrace.h:8, from /builddir/build/BUILD/dsms-storage/src/mds/inode_backtrace.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/PoolWatcher.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 29%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_map/UpdateRequest.cc.o [ 93%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/write_prepared_txn.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/admin_socket.h:22, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_rados.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/FSMap.h:27: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying [ 96%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/write_prepared_txn_db.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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 /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/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/common/AsyncOpTracker.h:8, from /builddir/build/BUILD/dsms-storage/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( | ^~~~~~~~~~~~~~~~~~~~ [ 29%] Linking CXX shared library ../../lib/libcls_refcount.so /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/RemotePoolPoller.cc:11: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_meta_be.h:22, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_user.h:20, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_user_rados.cc:6: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying [ 96%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/write_unprepared_txn.cc.o [ 29%] 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/Threads.cc:7: /builddir/build/BUILD/dsms-storage/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/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/Threads.h:8, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 29%] Built target cls_refcount In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 29%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/CloseImageRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Utils.h:7, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/Throttler.cc:19: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd_mirror/Throttler.h:7, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_zone.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_zone.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 29%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/CreateImageRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/flock.cc:6: /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_zone_utils.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_zone_utils.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 29%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_acl_s3.cc.o [ 29%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_acl_swift.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_deleter/SnapshotPurgeRequest.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Utils.h:7, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_map/LoadRequest.cc:7: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_deleter/TrashMoveRequest.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_ImageDeleter.cc:24: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/TrashWatcher.h:10, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_deleter/TrashWatcher.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_deleter/TrashMoveRequest.cc:12: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_ImageDeleter.cc:27: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_deleter/TrashRemoveRequest.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/test/rbd_mirror/test_ImageReplayer.cc:17: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage/src/erasure-code/lrc/ErasureCodeLrc.cc:22: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/tools/rbd_mirror/Types.h:13, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_map/Types.h:16, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_map/StateTransition.h:7, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_map/StateTransition.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_fixture.h:8, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_ImageSync.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 29%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_aio.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 96%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/write_unprepared_txn_db.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying [ 29%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/GetMirrorImageIdRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 96%] Building CXX object CMakeFiles/rocksdb.dir/utilities/ttl/db_ttl_impl.cc.o [ 29%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_aio_throttle.cc.o [ 29%] Building CXX object src/test/rbd_mirror/CMakeFiles/rbd_mirror_test.dir/test_InstanceWatcher.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/Utils.h:7, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_map/Policy.cc:7: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 30%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_auth.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:31: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 30%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_auth_s3.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_map/Policy.h:13, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_map/SimplePolicy.h:7, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_map/SimplePolicy.cc:7: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 30%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_arn.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/rgw/services/svc_meta_be_params.h:21, from /builddir/build/BUILD/dsms-storage/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage/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/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 In file included from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/BootstrapRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/BootstrapRequest.cc:5: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 30%] Building CXX object src/test/rbd_mirror/CMakeFiles/rbd_mirror_test.dir/test_Instances.cc.o [ 30%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/OpenImageRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 96%] Building CXX object CMakeFiles/rocksdb.dir/utilities/write_batch_with_index/write_batch_with_index.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 30%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/OpenLocalImageRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_user.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.cc:14: /builddir/build/BUILD/dsms-storage/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/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/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/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, | ^~~~~~~~~~~~ [ 96%] Building CXX object CMakeFiles/rocksdb.dir/utilities/write_batch_with_index/write_batch_with_index_internal.cc.o /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage/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/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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:14: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.cc:483:9: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 30%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/PrepareLocalImageRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 30%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_basic_types.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.cc:483:9: required from here /builddir/build/BUILD/dsms-storage/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) { | ^ [ 96%] Building CXX object CMakeFiles/rocksdb.dir/port/port_posix.cc.o /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.cc:516:9: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 96%] Building CXX object CMakeFiles/rocksdb.dir/env/env_posix.cc.o [ 30%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/PrepareRemoteImageRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/CreateImageRequest.h:9, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/CreateImageRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Utils.h:7, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_map/UpdateRequest.cc:7: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 30%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/StateBuilder.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying [ 30%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/TimeRollingMean.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/mds/mdstypes.cc:517:9: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 30%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/Utils.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 30%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_bucket.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/GetMirrorImageIdRequest.cc:5: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/GetMirrorImageIdRequest.h:7, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 30%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/journal/CreateLocalImageRequest.cc.o [100%] Building CXX object CMakeFiles/rocksdb.dir/env/io_posix.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl_swift.cc:11: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_ImageReplayer.cc:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 30%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/journal/EventPreprocessor.cc.o [ 30%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/journal/PrepareReplayRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_ImageSync.cc:11: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 30%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/journal/Replayer.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_InstanceWatcher.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 30%] Building CXX object src/test/rbd_mirror/CMakeFiles/rbd_mirror_test.dir/test_LeaderWatcher.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_ImageReplayer.cc:30: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 30%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_bucket_sync.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 30%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/journal/ReplayStatusFormatter.cc.o [ 30%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/journal/StateBuilder.cc.o [ 30%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_cache.cc.o [ 30%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/journal/SyncPointHandler.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_aio.cc:17: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 30%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_common.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 30%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/snapshot/ApplyImageStateRequest.cc.o [ 30%] Building CXX object src/test/rbd_mirror/CMakeFiles/rbd_mirror_test.dir/test_fixture.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ReadResult.h:12, from /builddir/build/BUILD/dsms-storage/src/librbd/io/AioCompletion.h:15, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_ImageSync.cc:15: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 30%] Building CXX object src/test/rbd_mirror/CMakeFiles/rbd_mirror_test.dir/image_map/test_Policy.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 30%] Linking CXX static library ../../lib/libosdc.a /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 30%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_compression.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/CloseImageRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/CloseImageRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/test/rbd_mirror/test_Instances.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 30%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_etag_verifier.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/OpenImageRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/BootstrapRequest.cc:7: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_aio_throttle.cc:16: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 30%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_cors.cc.o [ 31%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/snapshot/CreateLocalImageRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/CloseImageRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/CreateImageRequest.cc:5: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/BootstrapRequest.cc:19: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/tools/rbd_mirror/image_replayer/Utils.cc:5: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/tools/rbd_mirror/image_replayer/Utils.h:8, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 31%] Built target osdc [ 31%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/snapshot/PrepareReplayRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 31%] 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.cc:9: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 31%] Building CXX object src/mds/CMakeFiles/mds.dir/BatchOp.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_arn.cc:5: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 31%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_cors_s3.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 src/rgw/CMakeFiles/rgw_common.dir/rgw_dencoder.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_user.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl_s3.cc:12: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/tools/rbd_mirror/image_replayer/PrepareLocalImageRequest.cc:5: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/PrepareLocalImageRequest.h:7, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_auth.cc:7: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 31%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/snapshot/StateBuilder.cc.o [ 31%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/snapshot/Utils.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_rados.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_aio.h:26, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_aio.cc:20: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_s3.h:14, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_auth_s3.cc:12: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 31%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_sync/SyncPointCreateRequest.cc.o [ 31%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_sync/SyncPointPruneRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 31%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_sync/Utils.cc.o [ 31%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/pool_watcher/RefreshImagesRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/GetMirrorImageIdRequest.cc:9: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: 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/rgw/CMakeFiles/rgw_common.dir/rgw_env.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_LeaderWatcher.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/Types.h:13, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/PrepareRemoteImageRequest.h:11, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/PrepareRemoteImageRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/cls/journal/cls_journal_types.h:9, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 31%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/service_daemon/Types.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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 src/rgw/CMakeFiles/rgw_common.dir/rgw_es_query.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_rados.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_aio_throttle.h:23, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_aio_throttle.cc:18: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 31%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_formats.cc.o [ 31%] Building CXX object src/client/CMakeFiles/client.dir/Client.cc.o [ 31%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/AsyncObjectThrottle.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 31%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/AsyncRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/Types.h:13, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/journal/StateBuilder.h:9, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/journal/StateBuilder.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/StateBuilder.h:8, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_sync/Types.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/journal/SyncPointHandler.h:7, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/journal/SyncPointHandler.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/CloseImageRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/OpenLocalImageRequest.cc:5: /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/Types.h:13, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/journal/EventPreprocessor.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/journal/EventPreprocessor.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/stringify.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_ImageSync.cc:5: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/ConfigWatcher.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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 src/client/CMakeFiles/client.dir/Dentry.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/PrepareLocalImageRequest.cc:9: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/test/rbd_mirror/test_fixture.h:8, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_fixture.cc:5: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_fixture.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/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/Types.h:13, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/journal/PrepareReplayRequest.h:9, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/journal/PrepareReplayRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/cls/journal/cls_journal_types.h:9, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/btree_map.h:7, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:34, from /builddir/build/BUILD/dsms-storage/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/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/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage/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/aarch64-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/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/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/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/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/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/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/OpenImageRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/OpenImageRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/PrepareLocalImageRequest.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/OpenLocalImageRequest.cc:13: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_zone.cc:1179:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cache.h:16, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cache.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 31%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_gc.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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 src/rgw/CMakeFiles/rgw_common.dir/rgw_gc_log.cc.o [ 31%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_http_client.cc.o [ 31%] Building CXX object src/client/CMakeFiles/client.dir/Fh.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [100%] Linking CXX static library librocksdb.a /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/journal/Journaler.h:10, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/StateBuilder.cc:9: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/StateBuilder.h:8, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_bucket_sync.cc:3: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/StateBuilder.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/stringify.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_ImageReplayer.cc:19: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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%] Building CXX object src/client/CMakeFiles/client.dir/Inode.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.cc:13: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_zone.cc:1179:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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 src/client/CMakeFiles/client.dir/MetaRequest.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/tools/rbd_mirror/pool_watcher/RefreshImagesRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/pool_watcher/RefreshImagesRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/journal/CreateLocalImageRequest.cc:5: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/BaseRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/journal/CreateLocalImageRequest.h:8, from /builddir/build/BUILD/dsms-storage/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/src/tools/rbd_mirror/image_replayer/snapshot/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/snapshot/Utils.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/journal/CreateLocalImageRequest.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: 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/mds/CMakeFiles/mds.dir/Capability.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl_s3.cc:9: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl_swift.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_bucket.cc:17: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 31%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_json_enc.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/rgw/rgw_arn.h:5, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/rbd_mirror/test_fixture.h:8, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_map/test_Policy.cc:5: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_map/test_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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 31%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_keystone.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/PrepareRemoteImageRequest.cc:12: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/snapshot/ApplyImageStateRequest.cc:8: /builddir/build/BUILD/dsms-storage/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/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/snapshot/ApplyImageStateRequest.h:7, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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 | ^~~~~~~~ [ 31%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_ldap.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/Types.h:13, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/journal/ReplayStatusFormatter.h:10, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/journal/ReplayStatusFormatter.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 32%] Linking CXX shared library ../../../lib/libec_lrc.so In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_compression.h:11, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_compression.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/journal/StateBuilder.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_sync/Types.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_sync/SyncPointCreateRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_sync/SyncPointCreateRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_fixture.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/journal/Replayer.h:14, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/journal/Replayer.cc:4: /builddir/build/BUILD/dsms-storage/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/src/tools/rbd_mirror/image_replayer/Replayer.h:7, from /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_etag_verifier.h:19, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_etag_verifier.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_sync/Types.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_sync/SyncPointPruneRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_sync/SyncPointPruneRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/journal/StateBuilder.cc:11: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/journal/EventPreprocessor.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_user.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cors_s3.cc:25: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/journal/SyncPointHandler.cc:11: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 33%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_lc.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/tools/rbd_mirror/image_replayer/snapshot/CreateLocalImageRequest.cc:5: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/BaseRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/snapshot/CreateLocalImageRequest.h:8, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/journal/PrepareReplayRequest.cc:9: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_dencoder.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_gc_log.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_gc_log.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/snapshot/CreateLocalImageRequest.cc:11: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 33%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_lc_s3.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/journal/PrepareReplayRequest.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 33%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_metadata.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/snapshot/PrepareReplayRequest.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/BaseRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/snapshot/PrepareReplayRequest.h:9, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying [ 33%] Built target ec_lrc /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 33%] Building CXX object src/client/CMakeFiles/client.dir/ClientSnapRealm.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_env.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/journal/ReplayStatusFormatter.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/journal/ReplayStatusFormatter.cc:11: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 33%] Building CXX object src/mds/CMakeFiles/mds.dir/MDSDaemon.cc.o [ 33%] Building CXX object src/mds/CMakeFiles/mds.dir/MDSRank.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_es_query.cc:11: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/journal/Replayer.cc:9: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/BatchOp.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/BatchOp.cc:19: /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_sync/SyncPointCreateRequest.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_sync/SyncPointPruneRequest.cc:7: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 33%] Building CXX object src/mds/CMakeFiles/mds.dir/Beacon.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_formats.cc:20: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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 | ^~~~~~~~ [ 33%] Building CXX object src/mds/CMakeFiles/mds.dir/flock.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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 | ^~~~~~~~ [ 33%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_multi.cc.o [ 33%] Building C object src/mds/CMakeFiles/mds.dir/locks.c.o In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/snapshot/Replayer.cc:12: /builddir/build/BUILD/dsms-storage/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/src/tools/rbd_mirror/image_replayer/Replayer.h:7, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/snapshot/Replayer.h:7, from /builddir/build/BUILD/dsms-storage/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/snapshot/StateBuilder.cc:9: /builddir/build/BUILD/dsms-storage/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/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/StateBuilder.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/snapshot/StateBuilder.h:7, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 33%] Building CXX object src/mds/CMakeFiles/mds.dir/journal.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 33%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_multi_del.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/AsyncRequest.cc:3: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_basic_types.h:9, from /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_types.h:14, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_gc_log.h:7: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 33%] Linking CXX shared library ../../lib/libcls_rgw.so /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/AsyncObjectThrottle.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/librbd/AsyncObjectThrottle.h:7, from /builddir/build/BUILD/dsms-storage/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/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/rgw/rgw_gc.h:9, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_gc.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_http_client.cc:13: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_putobj.h:18, from /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cache.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/ConfigWatcher.cc:8: /builddir/build/BUILD/dsms-storage/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/src/librbd/ConfigWatcher.h:7, from /builddir/build/BUILD/dsms-storage/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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying [ 33%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_obj_manifest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 33%] Building CXX object src/mds/CMakeFiles/mds.dir/Server.cc.o [ 33%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_pubsub.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 33%] Built target cls_rgw /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying [ 33%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/mds/Capability.h:22, from /builddir/build/BUILD/dsms-storage/src/mds/Capability.cc:15: /builddir/build/BUILD/dsms-storage/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/src/include/mempool.h:19, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 33%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_data_sync.cc.o [ 33%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_counters.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 33%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/client/Inode.h:11, from /builddir/build/BUILD/dsms-storage/src/client/Fh.cc:17: /builddir/build/BUILD/dsms-storage/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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 33%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module_aws.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_json_enc.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 33%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module_es.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_keystone.cc:16: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/client/MetaRequest.h:9, from /builddir/build/BUILD/dsms-storage/src/client/MetaRequest.cc:5: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 33%] Built target erasure_code_plugins In file included from /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_client.h:8, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_lc.cc:21: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 33%] Building CXX object src/mds/CMakeFiles/mds.dir/Mutation.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/client/ClientSnapRealm.h:9, from /builddir/build/BUILD/dsms-storage/src/client/ClientSnapRealm.cc:4: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/client/Dentry.h:4, from /builddir/build/BUILD/dsms-storage/src/client/Dentry.cc:7: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 33%] Building CXX object src/mds/CMakeFiles/mds.dir/MDCache.cc.o [ 33%] Building CXX object src/mds/CMakeFiles/mds.dir/RecoveryQueue.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 33%] Building CXX object src/client/CMakeFiles/client.dir/MetaSession.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 33%] Building CXX object src/client/CMakeFiles/client.dir/Trace.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/messages/MClientCaps.h:19, from /builddir/build/BUILD/dsms-storage/src/client/Client.cc:50: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage/src/client/Dentry.h:7: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/rgw/rgw_ldap.cc:6: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_gc.h:13: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 33%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module_es_rest.cc.o [ 33%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module_log.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cors_s3.cc:22: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 33%] Building CXX object src/client/CMakeFiles/client.dir/posix_acl.cc.o [ 33%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module_pubsub.cc.o [ 33%] Building CXX object src/mds/CMakeFiles/mds.dir/StrayManager.cc.o [ 33%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/DeepCopyRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_user.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_lc_s3.cc:11: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage/src/mds/flock.h:9, from /builddir/build/BUILD/dsms-storage/src/client/Inode.h:13: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 33%] Building CXX object src/mds/CMakeFiles/mds.dir/PurgeQueue.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/client/Client.h:28, from /builddir/build/BUILD/dsms-storage/src/client/Inode.cc:4: /builddir/build/BUILD/dsms-storage/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/src/messages/MCommand.h:18, from /builddir/build/BUILD/dsms-storage/src/common/CommandTable.h:18, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/client/Client.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage/src/client/MetaRequest.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 33%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/ExclusiveLock.cc.o [ 33%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_policy.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage/src/mds/Capability.h:27: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 33%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_pubsub_push.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_metadata.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_metadata.cc:7: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_es_query.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 33%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_notify.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/common/sstring.hh:33, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_s3.h:13: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_lc.cc:24: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 33%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_notify_event_type.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 33%] 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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 33%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_trace.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 33%] Building CXX object src/mds/CMakeFiles/mds.dir/Locker.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_multi_del.h:9, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_multi_del.cc:11: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 34%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_trim_bilog.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_obj_manifest.h:18, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_multi.h:9, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_multi.cc:12: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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()) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ [ 34%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_trim_datalog.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_obj_manifest.h:18, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_obj_manifest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [100%] Built target rocksdb [ 34%] Building CXX object src/mds/CMakeFiles/mds.dir/Migrator.cc.o [ 34%] Performing install step for 'rocksdb_ext' [ 34%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_trim_mdlog.cc.o [ 34%] Completed 'rocksdb_ext' [ 34%] Built target rocksdb_ext In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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 | ^~~~~~~~ [ 34%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_period_history.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 34%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_period_puller.cc.o [ 34%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_reshard.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 34%] Building CXX object src/kv/CMakeFiles/kv.dir/KeyValueDB.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:32: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDMap.h:20, from /builddir/build/BUILD/dsms-storage/src/client/Client.cc:65: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_zone.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_pubsub.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:32: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.cc:11: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/messages/MMDSLoadTargets.h:19, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.cc:21: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/flock.cc:6: /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_sync_module.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_sync_module_es.cc:5: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_keystone.cc:12: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_sync_module_aws.cc:6: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/osdc/ObjectCacher.h:17, from /builddir/build/BUILD/dsms-storage/src/client/Client.h:37: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 34%] Building CXX object src/client/CMakeFiles/client.dir/Delegation.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/osdc/ObjectCacher.h:17, from /builddir/build/BUILD/dsms-storage/src/client/Inode.h:16, from /builddir/build/BUILD/dsms-storage/src/client/Dentry.h:8: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/Mutation.h:18, from /builddir/build/BUILD/dsms-storage/src/mds/Mutation.cc:15: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_bucket.cc:14: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/osdc/ObjectCacher.h:17, from /builddir/build/BUILD/dsms-storage/src/client/Inode.h:16: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/mds/MDSDaemon.cc:37: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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 | ^~~~~~~~ [ 34%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_coroutine.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/LogSegment.h:19, from /builddir/build/BUILD/dsms-storage/src/mds/MDLog.h:49, from /builddir/build/BUILD/dsms-storage/src/mds/Beacon.cc:23: /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_sal.h:18, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_pubsub.h:7, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_notify.cc:7: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/rgw/rgw_notify.h:6, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/osdc/ObjectCacher.h:17, from /builddir/build/BUILD/dsms-storage/src/client/Inode.h:16, from /builddir/build/BUILD/dsms-storage/src/client/Dentry.h:8, from /builddir/build/BUILD/dsms-storage/src/client/MetaRequest.cc:6: /builddir/build/BUILD/dsms-storage/src/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/LogSegment.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_sync_module_log.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/osdc/Journaler.h:63, from /builddir/build/BUILD/dsms-storage/src/mds/journal.cc:16: /builddir/build/BUILD/dsms-storage/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/src/common/config.h:18, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_sync_module.h:7, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_sync_module_es.h:7, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_sync_module_es_rest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 34%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_cr_rados.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_sync_policy.cc:3: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_zone.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_sync_module_pubsub.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/mds/CInode.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/RecoveryQueue.cc:15: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 34%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_cr_rest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/messages/MClientRequest.h:40, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/Server.cc:22: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 34%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_cr_tools.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_data_sync.cc:13: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_sync.cc:14: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:32: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ManagedLock.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/ExclusiveLock.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/ExclusiveLock.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage/src/common/AsyncOpTracker.h:7, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:31: /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/MDSCacheObject.h:13, from /builddir/build/BUILD/dsms-storage/src/mds/Mutation.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/DeepCopyRequest.h:10, from /builddir/build/BUILD/dsms-storage/src/librbd/DeepCopyRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/ExclusiveLock.cc:5: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_period_puller.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MMDSLoadTargets.h:20: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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 src/rgw/CMakeFiles/rgw_common.dir/rgw_object_expirer_core.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_reshard.cc:7: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/client/MetaSession.h:9, from /builddir/build/BUILD/dsms-storage/src/client/MetaSession.cc:7: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_multi_del.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage/src/mds/MDSCacheObject.h:15, from /builddir/build/BUILD/dsms-storage/src/mds/CInode.h:30: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/messages/MCacheExpire.h:22, from /builddir/build/BUILD/dsms-storage/src/mds/MDCache.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/MDCache.cc:23: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage/src/mds/MDSMap.h:37, from /builddir/build/BUILD/dsms-storage/src/client/MetaSession.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_pubsub_common.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_sync_module_pubsub_rest.cc:5: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 34%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_op.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/btree_map.h:7, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:34, from /builddir/build/BUILD/dsms-storage/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/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/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage/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/aarch64-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/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/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/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/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/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/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/librbd/io/ImageRequestWQ.h:12, from /builddir/build/BUILD/dsms-storage/src/librbd/ExclusiveLock.cc:11: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/rgw/rgw_b64.h:7, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_pubsub_push.cc:11: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/PurgeQueue.cc:16: /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_period_history.cc:5: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/rgw/rgw_period_history.h:7, from /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/mds/events/../CInode.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/events/EMetaBlob.h:22, from /builddir/build/BUILD/dsms-storage/src/mds/events/ESubtreeMap.h:19, from /builddir/build/BUILD/dsms-storage/src/mds/journal.cc:17: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/MDSMap.h:37, from /builddir/build/BUILD/dsms-storage/src/mds/MDSDaemon.cc:39: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/messages/MClientRequest.h:40, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/StrayManager.cc:18: /builddir/build/BUILD/dsms-storage/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/src/common/perf_counters.h:20, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 34%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_otp.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/client/Inode.h:10: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying [ 34%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_policy_s3.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 34%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_public_access.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_lc_s3.cc:9: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/mds/CInode.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/CDir.h:32, from /builddir/build/BUILD/dsms-storage/src/mds/Locker.cc:16: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 /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/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_sync_trace.cc:13: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_sal.h:18, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cr_rados.cc:5: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 34%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_putobj.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:31: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:31, from /builddir/build/BUILD/dsms-storage/src/mds/Beacon.cc:24: /builddir/build/BUILD/dsms-storage/src/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_metadata.cc:5: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage/src/mds/MDSCacheObject.h:15, from /builddir/build/BUILD/dsms-storage/src/mds/CInode.h:30: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/kv/MemDB.h:22, from /builddir/build/BUILD/dsms-storage/src/kv/KeyValueDB.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/src/kv/KeyValueDB.h:6, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 34%] Linking CXX static library ../../../lib/librbd_mirror_internal.a In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/msg/Message.h:24, from /builddir/build/BUILD/dsms-storage/src/messages/MCommand.h:20: /builddir/build/BUILD/dsms-storage/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/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_basic_types.h:9, from /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_types.h:14, from /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_ops.h:7, from /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_client.h:9: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_coroutine.h:26, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cr_rados.h:9, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_trim_bilog.cc:25: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 34%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/ImageCtx.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 34%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_putobj_processor.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_coroutine.h:26, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cr_rados.h:9, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_trim_datalog.cc:8: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_etag_verifier.cc: In member function 'virtual void rgw::putobj::ETagVerifier_MPU::calculate_etag()': /builddir/build/BUILD/dsms-storage/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/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/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/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 ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/messages/MClientRequest.h:40, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/Migrator.cc:15: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/rgw/rgw_pubsub_push.h:5, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 34%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_quota.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/osdc/ObjectCacher.h:17, from /builddir/build/BUILD/dsms-storage/src/client/Inode.h:16, from /builddir/build/BUILD/dsms-storage/src/client/MetaSession.cc:8: /builddir/build/BUILD/dsms-storage/src/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_coroutine.h:26, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_sync.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_trim_mdlog.cc:7: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 34%] Building CXX object src/kv/CMakeFiles/kv.dir/MemDB.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 34%] Building CXX object src/kv/CMakeFiles/kv.dir/RocksDBStore.cc.o In file included from /usr/include/boost/bind.hpp:30, from /builddir/build/BUILD/dsms-storage/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( | ^~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_multi.cc:9: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 34%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/ImageState.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 35%] Building CXX object src/mds/CMakeFiles/mds.dir/MDBalancer.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/client/Client.h:28, from /builddir/build/BUILD/dsms-storage/src/client/Delegation.cc:6: /builddir/build/BUILD/dsms-storage/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/src/include/utime.h:18, from /builddir/build/BUILD/dsms-storage/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/client/Client.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/interval_set.h:23: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/client/Client.cc: In member function 'int Client::resolve_mds(const std::string&, std::vector*)': /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 35%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rados.cc.o /builddir/build/BUILD/dsms-storage/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/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/src/client/Client.cc:5832:19: note: use reference type to prevent copying 5832 | for (const auto gid : targets) { | ^~~ | & /builddir/build/BUILD/dsms-storage/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/src/client/Client.cc:5851:19: note: use reference type to prevent copying 5851 | for (const auto target_gid : non_laggy) { | ^~~~~~~~~~ | & [ 35%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_resolve.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:31: /builddir/build/BUILD/dsms-storage/src/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/osdc/Filer.h:36, from /builddir/build/BUILD/dsms-storage/src/mds/MDCache.h:52, from /builddir/build/BUILD/dsms-storage/src/mds/RecoveryQueue.cc:16: /builddir/build/BUILD/dsms-storage/src/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 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/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/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/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/src/rgw/rgw_auth_s3.cc:801:8: note: 'buf' declared here 801 | char buf[64]; | ^~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_coroutine.h:26, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_coroutine.cc:6: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/kv/KeyValueDB.h:12: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/rgw/CMakeFiles/rgw_common.dir/rgw_rest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/osdc/Filer.h:36, from /builddir/build/BUILD/dsms-storage/src/mds/MDCache.h:52: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.cc:26: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 36%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_client.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 36%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_conn.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/osdc/Filer.h:36, from /builddir/build/BUILD/dsms-storage/src/mds/MDCache.h:52, from /builddir/build/BUILD/dsms-storage/src/mds/PurgeQueue.cc:18: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_user.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_object_expirer_core.cc:24: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_meta_be_otp.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_otp.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_otp.cc:13: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 36%] Building CXX object src/mds/CMakeFiles/mds.dir/CDentry.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_policy_s3.cc:8: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_coroutine.h:26, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cr_rest.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cr_rest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_sync.cc:6: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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) { | ^ In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:31: /builddir/build/BUILD/dsms-storage/src/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/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/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_coroutine.h:26, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cr_rados.h:9, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cr_tools.h:7, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cr_tools.cc:6: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 36%] Built target rbd_mirror_internal [ 36%] Building CXX object src/mds/CMakeFiles/mds.dir/CDir.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 36%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_log.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 36%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_metadata.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 36%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_pubsub.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 36%] Building CXX object src/mds/CMakeFiles/mds.dir/CInode.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_data_sync.cc:6: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_sync_trace.cc:9: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/osdc/ObjectCacher.h:17, from /builddir/build/BUILD/dsms-storage/src/client/Client.h:37: /builddir/build/BUILD/dsms-storage/src/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 36%] Building CXX object src/mds/CMakeFiles/mds.dir/LogEvent.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_quota.cc:23: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageState.cc:5: /builddir/build/BUILD/dsms-storage/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/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageState.h:8, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_rados.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_aio.h:26, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_putobj_processor.cc:16: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 /usr/include/c++/12/ios:40, from /usr/include/c++/12/ostream:38, from /builddir/build/BUILD/dsms-storage/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/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/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.cc:14: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 36%] Building CXX object src/mds/CMakeFiles/mds.dir/MDSTable.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::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/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/osdc/Filer.h:36, from /builddir/build/BUILD/dsms-storage/src/mds/MDCache.h:52, from /builddir/build/BUILD/dsms-storage/src/mds/Locker.cc:24: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_period_history.h:12: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 36%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_pubsub_common.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_conn.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 36%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_realm.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_resolve.cc:15: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage/src/common/config.h:22, from /builddir/build/BUILD/dsms-storage/src/client/Client.cc:45: /builddir/build/BUILD/dsms-storage/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/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ [ 36%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_role.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 36%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_s3.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_coroutine.h:19: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.cc:20: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/stringify.h:7, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_sync.h:9: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/ceph_json.h:4, from /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MClientSession.h:88:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_trim_bilog.h:23, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_trim_bilog.cc:24: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest.cc:14: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/kv/MemDB.h:22, from /builddir/build/BUILD/dsms-storage/src/kv/MemDB.cc:23: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:32: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 36%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_role.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageState.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_client.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 36%] Building CXX object src/kv/CMakeFiles/kv.dir/rocksdb_cache/ShardedCache.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/src/client/Client.cc:217:24: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/client/Client.cc:3433:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 36%] Building CXX object src/mds/CMakeFiles/mds.dir/InoTable.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 36%] Building CXX object src/mds/CMakeFiles/mds.dir/JournalPointer.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MClientSession.h:88:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_coroutine.h:19: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/client/Client.cc:3433:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_otp.cc:12: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/utime.h:18, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/MDBalancer.cc:16: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_sal.h:18, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.cc:24: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage/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( | ^~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27: /builddir/build/BUILD/dsms-storage/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/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage/src/common/perf_counters.h:27, from /builddir/build/BUILD/dsms-storage/src/kv/MemDB.cc:18: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_pubsub_common.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_pubsub.cc:7: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_log.cc:18: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/mds/CDentry.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/CDentry.cc:17: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_object_expirer_core.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_metadata.cc:18: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 36%] Building CXX object src/mds/CMakeFiles/mds.dir/MDSTableClient.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 36%] Building CXX object src/mds/CMakeFiles/mds.dir/MDSTableServer.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 36%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sal.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/mds/CInode.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/CDir.h:32, from /builddir/build/BUILD/dsms-storage/src/mds/CDir.cc:19: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage/src/mds/BatchOp.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/CDentry.h:31: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/kv/CMakeFiles/kv.dir/rocksdb_cache/BinnedLRUCache.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_coroutine.h:19: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_pubsub_common.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 36%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_string.cc.o /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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 | ^~~~~~~~ [ 36%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_tag.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage/src/mds/MDSCacheObject.h:15, from /builddir/build/BUILD/dsms-storage/src/mds/CInode.h:30: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/rgw/rgw_rest_s3.cc:8: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_realm.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_realm.cc:5: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 36%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_tag_s3.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 36%] Building CXX object src/kv/CMakeFiles/kv.dir/LevelDBStore.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_role.cc:13: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 36%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_tools.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/mds/CInode.h:23: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/rgw/CMakeFiles/rgw_common.dir/rgw_user.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/mds/CInode.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/CInode.cc:21: /builddir/build/BUILD/dsms-storage/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/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage/src/common/config.h:22: /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ [ 36%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_website.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/messages/MClientRequest.h:40, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/LogEvent.cc:18: /builddir/build/BUILD/dsms-storage/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/src/common/config.h:18, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 36%] Built target common-objs In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.cc:12: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 36%] Building CXX object src/mds/CMakeFiles/mds.dir/ScrubStack.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/MDSTable.h:18, from /builddir/build/BUILD/dsms-storage/src/mds/MDSTable.cc:15: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/rgw/CMakeFiles/rgw_common.dir/rgw_xml.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/ceph_json.h:4, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage/src/mds/MDSCacheObject.h:15, from /builddir/build/BUILD/dsms-storage/src/mds/CInode.h:30: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:31, from /builddir/build/BUILD/dsms-storage/src/mds/MDBalancer.cc:20: /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 36%] Built target common-msg-objs [ 36%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_xml_enc.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage/src/common/config.h:22: /builddir/build/BUILD/dsms-storage/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/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/src/mds/events/../SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_sal.h:18, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_sal.cc:24: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/mds/Server.cc: In member function 'void Server::handle_set_vxattr(MDRequestRef&, CInode*)': /builddir/build/BUILD/dsms-storage/src/mds/Server.cc:5664:18: warning: unused variable 'realm' [-Wunused-variable] 5664 | SnapRealm *realm = cur->find_snaprealm(); | ^~~~~ /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 36%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_torrent.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.cc:18: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.cc:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 36%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/ImageWatcher.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 36%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_crypt.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 36%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/internal.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 36%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_crypt_sanitize.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mds/SnapServer.h:87:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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 | ^~~~~~~~ [ 37%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_iam_policy.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage/src/common/perf_counters.h:27: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/common/dout.h:21: /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 37%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_user_policy.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/MDSTable.h:18, from /builddir/build/BUILD/dsms-storage/src/mds/InoTable.h:19, from /builddir/build/BUILD/dsms-storage/src/mds/InoTable.cc:15: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_s3.cc:23: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.cc:41: /builddir/build/BUILD/dsms-storage/src/include/interval_set.h: At global scope: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/librbd/CMakeFiles/rbd_internal.dir/Journal.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_tag.cc:11: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:31: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 37%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_zone.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mds/SnapServer.h:87:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/perf_histogram.h:24, from /builddir/build/BUILD/dsms-storage/src/common/perf_counters.h:26: /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mds/journal.cc:785:9: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:31, from /builddir/build/BUILD/dsms-storage/src/mds/CDentry.cc:21: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 37%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sts.cc.o /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 37%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_sts.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 src/rgw/CMakeFiles/rgw_common.dir/rgw_perf_counters.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/librados_asio.h:17, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_tools.cc:8: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mds/SnapServer.h:87:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mds/SnapServer.h:89:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/mds/JournalPointer.cc:19: /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:31, from /builddir/build/BUILD/dsms-storage/src/mds/CDir.cc:25: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:31, from /builddir/build/BUILD/dsms-storage/src/mds/MDSTable.cc:17: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/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/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/src/mds/journal.cc:402:9: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/MDSTable.h:18, from /builddir/build/BUILD/dsms-storage/src/mds/MDSTableServer.h:18, from /builddir/build/BUILD/dsms-storage/src/mds/MDSTableServer.cc:15: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage/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/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 In file included from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/MDSMap.h:37, from /builddir/build/BUILD/dsms-storage/src/mds/MDSTableClient.cc:17: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mds/SnapServer.h:87:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mds/SnapServer.h:89:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_sal.h:18, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_user.cc:14: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/events/../CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_torrent.h:14, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_torrent.cc:9: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 37%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_oidc_provider.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 37%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_iam.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/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/src/mds/journal.cc:402:9: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 37%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_object_lock.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 37%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_kms.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_xml_enc.cc:17: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 37%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_url.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage/src/common/LogEntry.h:18, from /builddir/build/BUILD/dsms-storage/src/common/LogClient.h:19, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:21: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:31, from /builddir/build/BUILD/dsms-storage/src/mds/CInode.cc:25: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 37%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_oidc_provider.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_tools.cc:14: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_rest_pubsub.cc: In member function 'virtual int RGWPSCreateTopic_ObjStore_AWS::get_params()': /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_rest_pubsub.cc: In member function 'void RGWHandler_REST_PSTopic_AWS::rgw_topic_parse_input()': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_rest_pubsub.cc:344:23: note: use reference type to prevent copying 344 | for (const auto attr : map) { | ^~~~ | & /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:31, from /builddir/build/BUILD/dsms-storage/src/mds/InoTable.cc:16: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 38%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/LibrbdAdminSocketHook.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage/src/common/LogEntry.h:18, from /builddir/build/BUILD/dsms-storage/src/common/LogClient.h:19, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:21: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/mds/CInode.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/CDir.h:32, from /builddir/build/BUILD/dsms-storage/src/mds/ScrubStack.h:18, from /builddir/build/BUILD/dsms-storage/src/mds/ScrubStack.cc:17: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_crypt_sanitize.cc:11: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/JournalPointer.cc:20: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage/src/common/bloom_filter.hpp:27, from /builddir/build/BUILD/dsms-storage/src/mds/CDir.h:26: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 38%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/ManagedLock.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_auth.h:14, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_iam_policy.cc:16: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/mempool.h:31: /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/Server.cc:16: /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/sstring.hh:33, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/MDCache.h:23: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 38%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_amqp.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 38%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_kafka.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageWatcher.h:11, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageWatcher.cc:4: /builddir/build/BUILD/dsms-storage/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/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 38%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/MirroringWatcher.cc.o In file included from /builddir/build/BUILD/dsms-storage/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/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/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. | ^~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_crypt.cc:8: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/buffer.h:59, from /builddir/build/BUILD/dsms-storage/src/common/DecayCounter.h:18, from /builddir/build/BUILD/dsms-storage/src/mds/MDCache.h:21: /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/buffer.h:59, from /builddir/build/BUILD/dsms-storage/src/common/DecayCounter.h:18, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:20: /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage/src/mds/MDSCacheObject.h:15, from /builddir/build/BUILD/dsms-storage/src/mds/CInode.h:30: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:32: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::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/src/rgw/jwt-cpp/jwt.h:3, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_s3.cc:39: /builddir/build/BUILD/dsms-storage/src/rgw/picojson/picojson.h: In member function 'const T& picojson::value::get() const [with T = double]': /builddir/build/BUILD/dsms-storage/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/src/rgw/picojson/picojson.h:374:12: note: in definition of macro 'GET' 374 | return var; \ | ^~~ /builddir/build/BUILD/dsms-storage/src/rgw/picojson/picojson.h: In member function 'T& picojson::value::get() [with T = double]': /builddir/build/BUILD/dsms-storage/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/src/rgw/picojson/picojson.h:378:12: note: in definition of macro 'GET' 378 | return var; \ | ^~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 38%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/ObjectMap.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageWatcher.cc:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_tag.h:8, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_tag.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 38%] Building CXX object src/mds/CMakeFiles/mds.dir/DamageTable.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_zone.h:7, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_zone.cc:6: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ReadResult.h:12, from /builddir/build/BUILD/dsms-storage/src/librbd/io/AioCompletion.h:15, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageWatcher.cc:15: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_user_policy.cc:14: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/librbd/internal.cc:16: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_role.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_sts.cc:14: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_sts.cc:22: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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; | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:31, from /builddir/build/BUILD/dsms-storage/src/mds/MDSTableClient.cc:22: /builddir/build/BUILD/dsms-storage/src/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/Journal.cc:4: /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:31, from /builddir/build/BUILD/dsms-storage/src/mds/MDSTableServer.cc:16: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/sstring.hh:33, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Utils.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/Journal.h:19: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 38%] Building CXX object src/mds/CMakeFiles/mds.dir/SimpleLock.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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 | ^~~~~~~~ [ 38%] Building CXX object src/mds/CMakeFiles/mds.dir/SnapRealm.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 38%] Building CXX object src/mds/CMakeFiles/mds.dir/SnapServer.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/Journal.cc:16: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 38%] Building CXX object src/mds/CMakeFiles/mds.dir/SnapClient.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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 /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/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/common/AsyncOpTracker.h:8, from /builddir/build/BUILD/dsms-storage/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( | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.cc:18: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 38%] Building CXX object src/mds/CMakeFiles/mds.dir/snap.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/internal.cc:27: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_iam.cc:6: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 38%] Building CXX object src/mds/CMakeFiles/mds.dir/SessionMap.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 38%] Building CXX object src/mds/CMakeFiles/mds.dir/MDSContext.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_oidc_provider.cc:13: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_crypt.h:11, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_kms.cc:11: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 38%] Linking CXX static library ../../lib/libkv.a /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_oidc_provider.cc:12: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 38%] Building CXX object src/mds/CMakeFiles/mds.dir/MDSAuthCaps.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 38%] Built target kv /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 38%] Building CXX object src/mon/CMakeFiles/mon.dir/__/auth/cephx/CephxKeyServer.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 38%] Building CXX object src/mon/CMakeFiles/mon.dir/__/auth/cephx/CephxServiceHandler.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/librbd/Journal.cc:1795:24: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/Migrator.cc:1649:11: required from here /builddir/build/BUILD/dsms-storage/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/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 /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 38%] Building CXX object src/mon/CMakeFiles/mon.dir/__/auth/AuthServiceHandler.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 39%] Linking CXX static library ../../../lib/librbd_mirror_test.a /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_amqp.cc: In function 'std::string rgw::amqp::to_string(amqp_status_enum)': /builddir/build/BUILD/dsms-storage/src/rgw/rgw_amqp.cc:254:10: warning: enumeration value 'AMQP_STATUS_SSL_SET_ENGINE_FAILED' not handled in switch [-Wswitch] 254 | switch (s) { | ^ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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%] Built target rbd_mirror_test /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 40%] Building CXX object src/os/CMakeFiles/os.dir/ObjectStore.cc.o [ 40%] Building CXX object src/os/CMakeFiles/os.dir/Transaction.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/LibrbdAdminSocketHook.cc:6: /builddir/build/BUILD/dsms-storage/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/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ManagedLock.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/ManagedLock.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/ManagedLock.cc:13: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:31, from /builddir/build/BUILD/dsms-storage/src/mds/ScrubStack.cc:19: /builddir/build/BUILD/dsms-storage/src/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_tools.cc:23: /builddir/build/BUILD/dsms-storage/src/include/interval_set.h: At global scope: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/MirroringWatcher.h:10, from /builddir/build/BUILD/dsms-storage/src/librbd/MirroringWatcher.cc:4: /builddir/build/BUILD/dsms-storage/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/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage/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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/cls/rbd/cls_rbd_types.h:10: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 40%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/Operations.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/io/ImageRequestWQ.h:12, from /builddir/build/BUILD/dsms-storage/src/librbd/LibrbdAdminSocketHook.cc:9: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 40%] Building CXX object src/mds/CMakeFiles/mds.dir/MDLog.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/Utils.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/ObjectMap.h:15, from /builddir/build/BUILD/dsms-storage/src/librbd/ObjectMap.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/fs_types.h:6, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_user.cc:12: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/ObjectMap.cc:7: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 40%] Building CXX object src/mds/CMakeFiles/mds.dir/MDSCacheObject.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/str_map.h:22, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/mds/CMakeFiles/mds.dir/Mantle.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/librbd/ObjectMap.cc:25: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/mds/CInode.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/CDir.h:32, from /builddir/build/BUILD/dsms-storage/src/mds/DamageTable.cc:17: /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 41%] Building CXX object src/mds/CMakeFiles/mds.dir/Anchor.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage/src/mds/MDSCacheObject.h:15, from /builddir/build/BUILD/dsms-storage/src/mds/CInode.h:30: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/mds/CMakeFiles/mds.dir/OpenFileTable.cc.o [ 41%] Building CXX object src/mds/CMakeFiles/mds.dir/__/common/TrackedOp.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/CDentry.h:25: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/mds/CMakeFiles/mds.dir/__/common/MemoryModel.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:14: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/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/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/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/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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/MDSCacheObject.h:13, from /builddir/build/BUILD/dsms-storage/src/mds/SimpleLock.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/SimpleLock.cc:16: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage/src/mds/MDSCacheObject.h:15: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 41%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/TrashWatcher.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage/src/common/config.h:22: /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ [ 41%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/Utils.cc.o [ 41%] Building CXX object src/mds/CMakeFiles/mds.dir/__/osdc/Journaler.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage/src/common/config.h:22: /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_sts.cc:12: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/librbd/CMakeFiles/rbd_internal.dir/Watcher.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/SnapRealm.h:20, from /builddir/build/BUILD/dsms-storage/src/mds/SnapRealm.cc:15: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/snap.h:20, from /builddir/build/BUILD/dsms-storage/src/mds/snap.cc:17: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 /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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_tools.cc:11: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/auth/cephx/CephxKeyServer.cc:15: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:32: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/CDir.cc:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/MDSTable.h:18, from /builddir/build/BUILD/dsms-storage/src/mds/MDSTableServer.h:18, from /builddir/build/BUILD/dsms-storage/src/mds/SnapServer.h:18, from /builddir/build/BUILD/dsms-storage/src/mds/SnapServer.cc:15: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:14: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/rgw/jwt-cpp/jwt.h:3, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_sts.cc:24: /builddir/build/BUILD/dsms-storage/src/rgw/picojson/picojson.h: In member function 'const T& picojson::value::get() const [with T = double]': /builddir/build/BUILD/dsms-storage/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/src/rgw/picojson/picojson.h:374:12: note: in definition of macro 'GET' 374 | return var; \ | ^~~ /builddir/build/BUILD/dsms-storage/src/rgw/picojson/picojson.h: In member function 'T& picojson::value::get() [with T = double]': /builddir/build/BUILD/dsms-storage/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/src/rgw/picojson/picojson.h:378:12: note: in definition of macro 'GET' 378 | return var; \ | ^~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage/src/common/config.h:22, from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:14: /builddir/build/BUILD/dsms-storage/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/src/mds/InoTable.cc:70:25: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/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/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); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/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/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/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/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/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, | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 41%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/api/Config.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/MDSMap.h:37, from /builddir/build/BUILD/dsms-storage/src/mds/SnapClient.cc:15: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/auth/AuthServiceHandler.h:20, from /builddir/build/BUILD/dsms-storage/src/auth/cephx/CephxServiceHandler.h:18, from /builddir/build/BUILD/dsms-storage/src/auth/cephx/CephxServiceHandler.cc:16: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 41%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/api/DiffIterate.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/auth/AuthServiceHandler.h:20, from /builddir/build/BUILD/dsms-storage/src/auth/AuthServiceHandler.cc:15: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_user_policy.cc:9: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage/src/common/config.h:22: /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/messages/MClientRequest.h:40, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/SessionMap.cc:15: /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.cc:16: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 41%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/api/Group.cc.o /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_user_policy.cc:153:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/messages/MClientRequest.h:40, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/MDSContext.cc:16: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/Transaction.h:10, from /builddir/build/BUILD/dsms-storage/src/os/Transaction.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 41%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/api/Image.cc.o [ 41%] Building CXX object src/os/CMakeFiles/os.dir/filestore/chain_xattr.cc.o [ 41%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/api/Migration.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/librbd/CMakeFiles/rbd_internal.dir/api/Mirror.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_user_policy.cc:153:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/rgw/jwt-cpp/jwt.h:3, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_iam.cc:10: /builddir/build/BUILD/dsms-storage/src/rgw/picojson/picojson.h: In member function 'const T& picojson::value::get() const [with T = double]': /builddir/build/BUILD/dsms-storage/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/src/rgw/picojson/picojson.h:374:12: note: in definition of macro 'GET' 374 | return var; \ | ^~~ /builddir/build/BUILD/dsms-storage/src/rgw/picojson/picojson.h: In member function 'T& picojson::value::get() [with T = double]': /builddir/build/BUILD/dsms-storage/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/src/rgw/picojson/picojson.h:378:12: note: in definition of macro 'GET' 378 | return var; \ | ^~~ [ 41%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/api/Namespace.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/librbd/CMakeFiles/rbd_internal.dir/api/Pool.cc.o /builddir/build/BUILD/dsms-storage/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/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/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/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/ObjectMapIterate.h:11, from /builddir/build/BUILD/dsms-storage/src/librbd/Operations.h:10, from /builddir/build/BUILD/dsms-storage/src/librbd/Operations.cc:5: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_sts.cc:20: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: 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/os/CMakeFiles/os.dir/filestore/BtrfsFileStoreBackend.cc.o /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/librbd/CMakeFiles/rbd_internal.dir/api/PoolMetadata.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/librbd/Operations.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_oidc_provider.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 41%] Building CXX object src/mon/CMakeFiles/mon.dir/Paxos.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/Utils.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/Utils.cc:7: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 41%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/api/Snapshot.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_oidc_provider.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/api/Config.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/api/Config.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 41%] Building CXX object src/mon/CMakeFiles/mon.dir/PaxosService.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/mds/MDSCacheObject.h:7: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 41%] Building CXX object src/mon/CMakeFiles/mon.dir/OSDMonitor.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 41%] Building CXX object src/mon/CMakeFiles/mon.dir/MDSMonitor.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:32: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/mds/CInode.h:23: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/mds/CInode.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/OpenFileTable.cc:16: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage/src/common/config.h:22: /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/sstring.hh:33, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/MDSCacheObject.h:13, from /builddir/build/BUILD/dsms-storage/src/mds/MDSCacheObject.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage/src/mds/MDSCacheObject.h:15: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:33: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 41%] Building CXX object src/mon/CMakeFiles/mon.dir/CommandHandler.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/os/filestore/LFNIndex.h:27, from /builddir/build/BUILD/dsms-storage/src/os/filestore/HashIndex.h:20, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileStore.h:42, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.cc:21: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MRemoveSnaps.h:18, from /builddir/build/BUILD/dsms-storage/src/mds/SnapServer.h:21: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/messages/MClientRequest.h:40, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/MDLog.cc:15: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/MDSMap.h:26: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/common/histogram.h:18, from /builddir/build/BUILD/dsms-storage/src/common/TrackedOp.h:19, from /builddir/build/BUILD/dsms-storage/src/common/TrackedOp.cc:13: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:31, from /builddir/build/BUILD/dsms-storage/src/mds/SnapClient.cc:16: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/mon/CMakeFiles/mon.dir/FSCommands.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:31: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 41%] Building CXX object src/mon/CMakeFiles/mon.dir/MgrMonitor.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/api/Migration.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/api/Migration.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/Anchor.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/Anchor.cc:15: /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/api/Image.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/api/Image.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:31: /builddir/build/BUILD/dsms-storage/src/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/Mantle.cc:15: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/api/Snapshot.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/api/Snapshot.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage/src/mds/MDSCacheObject.h:15, from /builddir/build/BUILD/dsms-storage/src/mds/CInode.h:30: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:14: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Watcher.h:10, from /builddir/build/BUILD/dsms-storage/src/librbd/Watcher.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage/src/common/AsyncOpTracker.h:7, from /builddir/build/BUILD/dsms-storage/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/src/librbd/api/Pool.cc:5: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/librbd/api/Pool.h:10, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying [ 41%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/api/Trash.cc.o /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 42%] Building CXX object src/mon/CMakeFiles/mon.dir/MgrStatMonitor.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/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/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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( | ^~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/api/Mirror.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/api/Mirror.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/TrashWatcher.h:10, from /builddir/build/BUILD/dsms-storage/src/librbd/TrashWatcher.cc:4: /builddir/build/BUILD/dsms-storage/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/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 42%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/cache/ImageWriteback.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/osdc/Filer.h:36, from /builddir/build/BUILD/dsms-storage/src/mds/MDCache.h:52, from /builddir/build/BUILD/dsms-storage/src/mds/SnapRealm.cc:16: /builddir/build/BUILD/dsms-storage/src/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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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] /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /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/librbd/CMakeFiles/rbd_internal.dir/cache/ObjectCacherObjectDispatch.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/Utils.cc:12: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage/src/common/config.h:22: /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 43%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/cache/ParentCacheObjectDispatch.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/api/Config.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 43%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/cache/ObjectCacherWriteback.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/librbd/CMakeFiles/rbd_internal.dir/cache/PassthroughImageCache.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/osdc/Journaler.h:63, from /builddir/build/BUILD/dsms-storage/src/osdc/Journaler.cc:19: /builddir/build/BUILD/dsms-storage/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/src/common/perf_counters.h:20, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/api/Mirror.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/api/Namespace.cc:6: /builddir/build/BUILD/dsms-storage/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/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/librbd/CMakeFiles/rbd_internal.dir/cache/WriteAroundObjectDispatch.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/api/DiffIterate.cc:5: /builddir/build/BUILD/dsms-storage/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/src/common/Formatter.h:9, from /builddir/build/BUILD/dsms-storage/src/common/bit_vector.hpp:14, from /builddir/build/BUILD/dsms-storage/src/librbd/api/DiffIterate.h:8, from /builddir/build/BUILD/dsms-storage/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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/mds/InoTable.h:51:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ReadResult.h:12, from /builddir/build/BUILD/dsms-storage/src/librbd/io/AioCompletion.h:15, from /builddir/build/BUILD/dsms-storage/src/librbd/api/DiffIterate.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/api/Trash.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/api/Trash.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 /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/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/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/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 /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/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/librbd/ManagedLock.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/ExclusiveLock.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/api/Group.cc:7: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/utime.h:18, from /builddir/build/BUILD/dsms-storage/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage/src/common/Cond.h:19, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/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/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/src/mds/CInode.cc:1523:9: required from here /builddir/build/BUILD/dsms-storage/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/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 In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:31: /builddir/build/BUILD/dsms-storage/src/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage/src/common/bloom_filter.hpp:27, from /builddir/build/BUILD/dsms-storage/src/mds/CDir.h:26: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:18: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/api/Group.cc:9: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/TrackedOp.cc: In constructor 'OpTracker::OpTracker(ceph::common::CephContext*, bool, uint32_t)': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage/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/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/src/include/mempool.h:31: /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/api/Migration.cc:12: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/DeepCopyRequest.h:10, from /builddir/build/BUILD/dsms-storage/src/librbd/api/Image.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CInode.cc:1523:9: required from here /builddir/build/BUILD/dsms-storage/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/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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileStore.h:33, from /builddir/build/BUILD/dsms-storage/src/os/filestore/GenericFileStoreBackend.h:18, from /builddir/build/BUILD/dsms-storage/src/os/filestore/BtrfsFileStoreBackend.h:19, from /builddir/build/BUILD/dsms-storage/src/os/filestore/BtrfsFileStoreBackend.cc:39: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/librbd/api/Pool.cc:11: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Utils.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/api/PoolMetadata.cc:9: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/librbd/api/PoolMetadata.h:10, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/api/Namespace.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/api/Snapshot.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/io/ImageRequestWQ.h:12, from /builddir/build/BUILD/dsms-storage/src/librbd/api/Migration.cc:36: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/cls/rbd/cls_rbd_types.h:10: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ReadResult.h:12, from /builddir/build/BUILD/dsms-storage/src/librbd/io/AioCompletion.h:15, from /builddir/build/BUILD/dsms-storage/src/librbd/api/Group.cc:14: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/librbd/CMakeFiles/rbd_internal.dir/deep_copy/ImageCopyRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/io/ObjectDispatchInterface.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/cache/ObjectCacherObjectDispatch.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/cache/ObjectCacherObjectDispatch.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 /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/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/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/api/Mirror.cc:11: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 43%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/deep_copy/MetadataCopyRequest.cc.o [ 43%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/deep_copy/ObjectCopyRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/Paxos.h:121, from /builddir/build/BUILD/dsms-storage/src/mon/PaxosService.h:19, from /builddir/build/BUILD/dsms-storage/src/mon/PaxosService.cc:15: /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/api/Mirror.cc:13: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /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/librbd/CMakeFiles/rbd_internal.dir/deep_copy/SetHeadRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:31, from /builddir/build/BUILD/dsms-storage/src/mds/Mantle.cc:16: /builddir/build/BUILD/dsms-storage/src/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/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/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/librbd/CMakeFiles/rbd_internal.dir/deep_copy/SnapshotCopyRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/io/ObjectDispatchInterface.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/cache/WriteAroundObjectDispatch.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/cache/WriteAroundObjectDispatch.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:31, from /builddir/build/BUILD/dsms-storage/src/mds/OpenFileTable.cc:18: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/Paxos.h:121, from /builddir/build/BUILD/dsms-storage/src/mon/Paxos.cc:16: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/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/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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/common/bit_vector.hpp:16: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/api/Pool.cc:12: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 43%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/deep_copy/SnapshotCreateRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/librbd/CMakeFiles/rbd_internal.dir/deep_copy/Utils.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 43%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/exclusive_lock/AutomaticPolicy.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/mon/CMakeFiles/mon.dir/Monitor.cc.o [ 43%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/exclusive_lock/PreAcquireRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MMgrBeacon.h:18, from /builddir/build/BUILD/dsms-storage/src/mon/MgrMonitor.cc:16: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /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/librbd/CMakeFiles/rbd_internal.dir/exclusive_lock/PostAcquireRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/librbd/CMakeFiles/rbd_internal.dir/exclusive_lock/PreReleaseRequest.cc.o [ 43%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/exclusive_lock/StandardPolicy.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/cache/WriteAroundObjectDispatch.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/OSDMonitor.h:33, from /builddir/build/BUILD/dsms-storage/src/mon/OSDMonitor.cc:25: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/os/bluestore/BlueStore.h:3536:39: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/MDSMap.h:37, from /builddir/build/BUILD/dsms-storage/src/mds/FSMap.h:29, from /builddir/build/BUILD/dsms-storage/src/mon/PaxosFSMap.h:18, from /builddir/build/BUILD/dsms-storage/src/mon/MDSMonitor.h:25, from /builddir/build/BUILD/dsms-storage/src/mon/MDSMonitor.cc:19: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/common/perf_histogram.h:24, from /builddir/build/BUILD/dsms-storage/src/common/perf_counters.h:26: /builddir/build/BUILD/dsms-storage/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/src/osdc/Journaler.cc:855:25: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/librbd/api/Pool.cc:6: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/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/src/include/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/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/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/osdc/ObjectCacher.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/cache/ObjectCacherObjectDispatch.h:9: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/librbd/CMakeFiles/rbd_internal.dir/image/AttachChildRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/api/Trash.cc:11: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/os/filestore/LFNIndex.h:27, from /builddir/build/BUILD/dsms-storage/src/os/filestore/HashIndex.h:20, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileStore.h:42: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/librbd/CMakeFiles/rbd_internal.dir/image/AttachParentRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/cache/ImageWriteback.cc:7: /builddir/build/BUILD/dsms-storage/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/src/librbd/cache/ImageWriteback.h:9, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/Paxos.h:121, from /builddir/build/BUILD/dsms-storage/src/mon/PaxosService.h:19, from /builddir/build/BUILD/dsms-storage/src/mon/MgrStatMonitor.h:7, from /builddir/build/BUILD/dsms-storage/src/mon/MgrStatMonitor.cc:4: /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/librbd/CMakeFiles/rbd_internal.dir/image/CloneRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/deep_copy/ImageCopyRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/deep_copy/ImageCopyRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage/src/common/perf_counters.h:27: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ReadResult.h:12, from /builddir/build/BUILD/dsms-storage/src/librbd/io/AioCompletion.h:15, from /builddir/build/BUILD/dsms-storage/src/librbd/cache/ImageWriteback.cc:9: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librbd/deep_copy/SetHeadRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/deep_copy/SetHeadRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/OSDMonitor.h:33, from /builddir/build/BUILD/dsms-storage/src/mon/FSCommands.cc:16: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/librbd/cache/ObjectCacherWriteback.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/cache/ObjectCacherWriteback.cc:6: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/snap_types.h:4, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 43%] Building CXX object src/mon/CMakeFiles/mon.dir/MonmapMonitor.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/deep_copy/MetadataCopyRequest.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/deep_copy/MetadataCopyRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/deep_copy/SnapshotCopyRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/deep_copy/SnapshotCopyRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/deep_copy/ObjectCopyRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/deep_copy/ObjectCopyRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/deep_copy/ObjectCopyRequest.h:9: /builddir/build/BUILD/dsms-storage/src/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/cache/ParentCacheObjectDispatch.cc:6: /builddir/build/BUILD/dsms-storage/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/src/common/WorkQueue.h:28, from /builddir/build/BUILD/dsms-storage/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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/osdc/ObjectCacher.h:17: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/cache/PassthroughImageCache.cc:7: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/StriperTypes.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/io/Types.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/cache/ImageCache.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/cache/PassthroughImageCache.h:7, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 43%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/CloseRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/cache/WriteAroundObjectDispatch.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/librbd/CMakeFiles/rbd_internal.dir/image/CreateRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/cache/ParentCacheObjectDispatch.cc:7: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/deep_copy/SetHeadRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/deep_copy/SnapshotCreateRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 43%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/DetachChildRequest.cc.o [ 43%] Building CXX object src/mon/CMakeFiles/mon.dir/LogMonitor.cc.o [ 43%] Building CXX object src/mon/CMakeFiles/mon.dir/AuthMonitor.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/deep_copy/ObjectCopyRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/deep_copy/ImageCopyRequest.cc:5: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /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/mon/CMakeFiles/mon.dir/ConfigMap.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/image/AttachChildRequest.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/image/AttachChildRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/buffer.h:59: /builddir/build/BUILD/dsms-storage/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/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/src/librbd/cache/WriteAroundObjectDispatch.cc:520:31: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/mon/CMakeFiles/mon.dir/ConfigMonitor.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/cache/ObjectCacherWriteback.cc:17: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/Paxos.h:121, from /builddir/build/BUILD/dsms-storage/src/mon/PaxosService.h:19, from /builddir/build/BUILD/dsms-storage/src/mon/OSDMonitor.h:37: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/librbd/cache/ImageWriteback.cc:6: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 43%] Building CXX object src/mon/CMakeFiles/mon.dir/Elector.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/deep_copy/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/deep_copy/Utils.cc:5: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/librbd/image/AttachParentRequest.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/image/AttachParentRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/librbd/CMakeFiles/rbd_internal.dir/image/DetachParentRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 44%] Building CXX object src/os/CMakeFiles/os.dir/filestore/DBObjectMap.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/Paxos.h:121, from /builddir/build/BUILD/dsms-storage/src/mon/PaxosService.h:19, from /builddir/build/BUILD/dsms-storage/src/mon/MDSMonitor.h:26: /builddir/build/BUILD/dsms-storage/src/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/deep_copy/ObjectCopyRequest.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/deep_copy/ObjectCopyRequest.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/deep_copy/SetHeadRequest.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/deep_copy/MetadataCopyRequest.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/deep_copy/SnapshotCopyRequest.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/image/CreateRequest.h:10, from /builddir/build/BUILD/dsms-storage/src/librbd/image/CreateRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 44%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/GetMetadataRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/image/DetachChildRequest.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/image/DetachChildRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/exclusive_lock/AutomaticPolicy.cc:5: /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/deep_copy/SetHeadRequest.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/librbd/deep_copy/SnapshotCopyRequest.cc:13: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/exclusive_lock/PreAcquireRequest.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/exclusive_lock/PreAcquireRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/Paxos.h:121, from /builddir/build/BUILD/dsms-storage/src/mon/PaxosService.h:19, from /builddir/build/BUILD/dsms-storage/src/mon/OSDMonitor.h:37: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/exclusive_lock/PreReleaseRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/exclusive_lock/PreReleaseRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 44%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/ListWatchersRequest.cc.o /builddir/build/BUILD/dsms-storage/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/Paxos.h:112: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/exclusive_lock/StandardPolicy.cc:5: /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/librbd/deep_copy/SnapshotCreateRequest.cc:13: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:14: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/exclusive_lock/PostAcquireRequest.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/exclusive_lock/PostAcquireRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage/src/common/config.h:22: /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/MDSMap.h:26: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMonPaxos.h:108:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/image/AttachChildRequest.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 44%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/OpenRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/exclusive_lock/PreReleaseRequest.cc:11: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/librbd/CMakeFiles/rbd_internal.dir/image/PreRemoveRequest.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/image/DetachParentRequest.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/image/DetachParentRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/image/AttachParentRequest.cc:9: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/common/bit_vector.hpp:16, from /builddir/build/BUILD/dsms-storage/src/librbd/deep_copy/ImageCopyRequest.h:9: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 44%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/RefreshParentRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage/src/common/LogEntry.h:18, from /builddir/build/BUILD/dsms-storage/src/common/LogClient.h:19, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:21: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/Elector.h:23, from /builddir/build/BUILD/dsms-storage/src/mon/Monitor.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Monitor.cc:29: /builddir/build/BUILD/dsms-storage/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 /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/exclusive_lock/PostAcquireRequest.cc:15: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMonPaxos.h:108:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage/src/common/LogEntry.h:18, from /builddir/build/BUILD/dsms-storage/src/common/LogClient.h:19, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:21: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Utils.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/image/CloneRequest.cc:10: /builddir/build/BUILD/dsms-storage/src/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 /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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/cls/lock/cls_lock_types.h:7, from /builddir/build/BUILD/dsms-storage/src/cls/rbd/cls_rbd_client.h:7, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/deep_copy/MetadataCopyRequest.h:10, from /builddir/build/BUILD/dsms-storage/src/librbd/image/CloneRequest.cc:11: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: 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 src/librbd/CMakeFiles/rbd_internal.dir/image/RefreshRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/interval_set.h:23: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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 src/librbd/CMakeFiles/rbd_internal.dir/image/RemoveRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/image/CloseRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/image/CloseRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:14: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 44%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/SetFlagsRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/buffer.h:59, from /builddir/build/BUILD/dsms-storage/src/common/DecayCounter.h:18, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:20: /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/snap_types.h:4, from /builddir/build/BUILD/dsms-storage/src/librbd/deep_copy/SnapshotCopyRequest.h:10: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/librbd/CMakeFiles/rbd_internal.dir/image/SetSnapRequest.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/Paxos.h:121, from /builddir/build/BUILD/dsms-storage/src/mon/PaxosService.h:19, from /builddir/build/BUILD/dsms-storage/src/mon/MonmapMonitor.h:28, from /builddir/build/BUILD/dsms-storage/src/mon/MonmapMonitor.cc:15: /builddir/build/BUILD/dsms-storage/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ [ 44%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/ValidatePoolRequest.cc.o 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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/buffer.h:59, from /builddir/build/BUILD/dsms-storage/src/common/DecayCounter.h:18, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:20: /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 44%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image_watcher/NotifyLockOwner.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/snap_types.h:4, from /builddir/build/BUILD/dsms-storage/src/librbd/deep_copy/SetHeadRequest.h:9: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/snap_types.h:4, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ObjectDispatchInterface.h:10: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/image/GetMetadataRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/image/GetMetadataRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage/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/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/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/src/librbd/deep_copy/ObjectCopyRequest.cc:1071:35: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mds/SnapServer.h:87:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/image/CreateRequest.h:13: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/image/DetachChildRequest.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/librbd/CMakeFiles/rbd_internal.dir/io/AioCompletion.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage/src/common/config.h:22: /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ [ 44%] Building CXX object src/mon/CMakeFiles/mon.dir/ElectionLogic.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/msg/Message.h:24, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:6: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/librbd/image/CreateRequest.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ReadResult.h:12, from /builddir/build/BUILD/dsms-storage/src/librbd/io/AioCompletion.h:15, from /builddir/build/BUILD/dsms-storage/src/librbd/image/CloseRequest.cc:14: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/librbd/CMakeFiles/rbd_internal.dir/io/AsyncOperation.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 44%] Building CXX object src/mon/CMakeFiles/mon.dir/HealthMonitor.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 44%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/io/CopyupRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 44%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/io/FlushTracker.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Building CXX object src/mon/CMakeFiles/mon.dir/ConfigKeyService.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 44%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/io/ImageDispatchSpec.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/Paxos.h:121, from /builddir/build/BUILD/dsms-storage/src/mon/PaxosService.h:19, from /builddir/build/BUILD/dsms-storage/src/mon/LogMonitor.h:22, from /builddir/build/BUILD/dsms-storage/src/mon/LogMonitor.cc:20: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/Elector.h:23, from /builddir/build/BUILD/dsms-storage/src/mon/Monitor.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/ConfigMonitor.cc:6: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/Elector.h:23, from /builddir/build/BUILD/dsms-storage/src/mon/Elector.cc:15: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 /usr/include/string.h:535, from /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/filestore/DBObjectMap.h:15, from /builddir/build/BUILD/dsms-storage/src/os/filestore/DBObjectMap.cc:14: /builddir/build/BUILD/dsms-storage/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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/image/PreRemoveRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/image/PreRemoveRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/mds/CInode.h:23: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 44%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/io/ImageRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mds/SnapServer.h:87:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mds/SnapServer.h:89:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage/src/common/config.h:22: /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/image/DetachParentRequest.cc:9: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage/src/common/LogEntry.h:18, from /builddir/build/BUILD/dsms-storage/src/common/LogClient.h:19, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:21: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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 src/librbd/CMakeFiles/rbd_internal.dir/io/ImageRequestWQ.cc.o /builddir/build/BUILD/dsms-storage/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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] [ 44%] Building CXX object src/os/CMakeFiles/os.dir/filestore/FileJournal.cc.o /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librbd/image/ValidatePoolRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/image/ValidatePoolRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/Paxos.h:121, from /builddir/build/BUILD/dsms-storage/src/mon/PaxosService.h:19, from /builddir/build/BUILD/dsms-storage/src/mon/AuthMonitor.h:24, from /builddir/build/BUILD/dsms-storage/src/mon/AuthMonitor.cc:17: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/image/RemoveRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/image/RemoveRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 44%] Building CXX object src/os/CMakeFiles/os.dir/filestore/FileStore.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 44%] Building CXX object src/os/CMakeFiles/os.dir/filestore/JournalThrottle.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/buffer.h:59, from /builddir/build/BUILD/dsms-storage/src/common/DecayCounter.h:18, from /builddir/build/BUILD/dsms-storage/src/mds/MDSRank.h:20: /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 44%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/io/ObjectDispatch.cc.o [ 44%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/io/ObjectDispatchSpec.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/image/RefreshParentRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/image/RefreshParentRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 44%] Building CXX object src/os/CMakeFiles/os.dir/filestore/GenericFileStoreBackend.cc.o [ 44%] Building CXX object src/os/CMakeFiles/os.dir/filestore/JournalingObjectStore.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/MDSMonitor.h:24: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librbd/io/AsyncOperation.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/io/AsyncOperation.cc:4: /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/image/GetMetadataRequest.cc:9: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 45%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/io/ObjectDispatcher.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 45%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/io/ObjectRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:14: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/image/ListWatchersRequest.cc:9: /builddir/build/BUILD/dsms-storage/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/src/include/rados/rados_types.hpp:4, from /builddir/build/BUILD/dsms-storage/src/librbd/image/ListWatchersRequest.h:7, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/librbd/CMakeFiles/rbd_internal.dir/io/ReadResult.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /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/os/CMakeFiles/os.dir/filestore/HashIndex.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/io/CopyupRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/io/CopyupRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/cls/rbd/cls_rbd_types.h:10, from /builddir/build/BUILD/dsms-storage/src/librbd/image/CreateRequest.h:12: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage/src/common/config.h:22: /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/kv/KeyValueDB.h:12, from /builddir/build/BUILD/dsms-storage/src/os/ObjectMap.h:21, from /builddir/build/BUILD/dsms-storage/src/os/filestore/DBObjectMap.cc:12: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 45%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/io/SimpleSchedulerObjectDispatch.cc.o [ 45%] Building CXX object src/mon/CMakeFiles/mon.dir/__/mds/MDSAuthCaps.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/io/AsyncOperation.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/io/CopyupRequest.h:12: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/librbd/CMakeFiles/rbd_internal.dir/io/Utils.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/image/PreRemoveRequest.h:9: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/OSDMonitor.h:27: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/image/OpenRequest.cc:9: /builddir/build/BUILD/dsms-storage/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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/src/librbd/image/OpenRequest.h:7, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 45%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/journal/CreateRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/image/RefreshParentRequest.cc:9: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /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/librbd/CMakeFiles/rbd_internal.dir/journal/DemoteRequest.cc.o [ 45%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/journal/ObjectDispatch.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/image/SetFlagsRequest.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/src/librbd/image/SetFlagsRequest.h:7, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:11, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/SnapshotRemoveRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/image/PreRemoveRequest.cc:13: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/image/RemoveRequest.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 45%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/journal/OpenRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/image/RefreshRequest.h:12, from /builddir/build/BUILD/dsms-storage/src/librbd/image/RefreshRequest.cc:6: /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 45%] Building CXX object src/os/CMakeFiles/os.dir/filestore/IndexManager.cc.o /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/image/RemoveRequest.cc:9: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /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/librbd/CMakeFiles/rbd_internal.dir/journal/PromoteRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/io/ObjectDispatch.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ObjectDispatch.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ManagedLock.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/ExclusiveLock.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/image/SetSnapRequest.cc:7: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/cls/lock/cls_lock_types.h:7, from /builddir/build/BUILD/dsms-storage/src/cls/rbd/cls_rbd_client.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/image/SetSnapRequest.h:7, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/image_watcher/NotifyLockOwner.cc:6: /builddir/build/BUILD/dsms-storage/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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/src/librbd/image_watcher/NotifyLockOwner.h:7, from /builddir/build/BUILD/dsms-storage/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/osdc/ObjectCacher.h:17, from /builddir/build/BUILD/dsms-storage/src/librbd/cache/ObjectCacherObjectDispatch.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/image/OpenRequest.cc:11: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /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/librbd/CMakeFiles/rbd_internal.dir/journal/RemoveRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/io/AioCompletion.h:11, from /builddir/build/BUILD/dsms-storage/src/librbd/io/AioCompletion.cc:4: /builddir/build/BUILD/dsms-storage/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/src/common/ceph_time.h:19, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/image/SetSnapRequest.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/io/AioCompletion.h:13: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/image/ValidatePoolRequest.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/image/RefreshRequest.cc:14: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/MonmapMonitor.h:25: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/io/ImageRequestWQ.h:12, from /builddir/build/BUILD/dsms-storage/src/librbd/image/SetSnapRequest.cc:12: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librbd/io/ObjectRequest.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ObjectRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 45%] Building CXX object src/mon/CMakeFiles/mon.dir/__/mgr/mgr_commands.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/io/AsyncOperation.cc:5: /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 45%] Building CXX object src/mon/CMakeFiles/mon.dir/__/osd/OSDCap.cc.o /builddir/build/BUILD/dsms-storage/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ReadResult.h:12, from /builddir/build/BUILD/dsms-storage/src/librbd/io/AioCompletion.h:15: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/io/FlushTracker.cc:6: /builddir/build/BUILD/dsms-storage/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/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage/src/librbd/io/FlushTracker.h:8, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/io/AioCompletion.h:11, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ImageDispatchSpec.h:10, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ImageDispatchSpec.cc:4: /builddir/build/BUILD/dsms-storage/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 { | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::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 /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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/io/AioCompletion.h:13: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/Elector.h:23, from /builddir/build/BUILD/dsms-storage/src/mon/Monitor.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/HealthMonitor.cc:24: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/deep_copy/ObjectCopyRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/io/CopyupRequest.cc:15: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /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/librbd/CMakeFiles/rbd_internal.dir/journal/Replay.cc.o /builddir/build/BUILD/dsms-storage/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/Elector.h:23, from /builddir/build/BUILD/dsms-storage/src/mon/Monitor.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/ConfigKeyService.cc:19: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /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/librbd/CMakeFiles/rbd_internal.dir/journal/ResetRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 45%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/journal/StandardPolicy.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ImageRequest.h:11, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ImageRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/snap_types.h:4, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ReadResult.h:12, from /builddir/build/BUILD/dsms-storage/src/librbd/io/AioCompletion.h:15: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/io/ImageRequestWQ.h:12, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ImageRequestWQ.cc:4: /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/os/filestore/Journal.h:26, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileJournal.h:25, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileJournal.cc:19: /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/ManagedLock.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/ExclusiveLock.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ImageRequestWQ.cc:8: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 45%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/journal/Utils.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ImageRequestWQ.cc:9: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librbd/journal/ObjectDispatch.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/ObjectDispatch.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 45%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/managed_lock/AcquireRequest.cc.o /builddir/build/BUILD/dsms-storage/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/Elector.h:21: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileStore.h:33, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileStore.cc:50: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/io/ObjectDispatchSpec.h:10, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ObjectDispatchSpec.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 45%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/managed_lock/BreakRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/os/filestore/JournalingObjectStore.h:18, from /builddir/build/BUILD/dsms-storage/src/os/filestore/JournalingObjectStore.cc:3: /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /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/librbd/CMakeFiles/rbd_internal.dir/managed_lock/GetLockerRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 45%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/managed_lock/ReacquireRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ObjectDispatch.cc:7: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 45%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/managed_lock/ReleaseRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/io/SimpleSchedulerObjectDispatch.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/io/SimpleSchedulerObjectDispatch.cc:4: /builddir/build/BUILD/dsms-storage/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/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/Monitor.h:30: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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] In file included from /builddir/build/BUILD/dsms-storage/src/librbd/io/ObjectDispatchInterface.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/io/SimpleSchedulerObjectDispatch.h:12: /builddir/build/BUILD/dsms-storage/src/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/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 /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileStore.h:33, from /builddir/build/BUILD/dsms-storage/src/os/filestore/GenericFileStoreBackend.h:18, from /builddir/build/BUILD/dsms-storage/src/os/filestore/GenericFileStoreBackend.cc:37: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ObjectDispatcher.cc:9: /builddir/build/BUILD/dsms-storage/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/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ObjectDispatcher.h:8, from /builddir/build/BUILD/dsms-storage/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 /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/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage/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( | ^~~~~~~~~~~~~~~~~~~~ [ 45%] Building CXX object src/os/CMakeFiles/os.dir/filestore/LFNIndex.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ImageRequest.cc:5: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ObjectRequest.cc:12: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /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/librbd/CMakeFiles/rbd_internal.dir/managed_lock/Utils.cc.o /builddir/build/BUILD/dsms-storage/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 45%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/DemoteRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/Types.h:13, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/DemoteRequest.h:10, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/DemoteRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/filestore/HashIndex.cc:18: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ReadResult.h:12, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ReadResult.cc:4: /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : 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/librbd/CMakeFiles/rbd_internal.dir/mirror/DisableRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/librbd/io/AioCompletion.h:9: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/messages/MConfig.h:39:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/Types.h:13, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/PromoteRequest.h:11, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/PromoteRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 46%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/EnableRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/librbd/CMakeFiles/rbd_internal.dir/mirror/GetInfoRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 46%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/GetStatusRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/Utils.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/CreateRequest.cc:7: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/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/src/librbd/io/Utils.cc:7: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/rados/rados_types.hpp:4, from /builddir/build/BUILD/dsms-storage/src/librbd/io/Utils.h:9, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/common/zipkin_trace.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ImageDispatchSpec.h:9: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 46%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/GetUuidRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/common/zipkin_trace.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/io/CopyupRequest.h:11: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/journal/ResetRequest.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/ResetRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/librbd/CMakeFiles/rbd_internal.dir/mirror/ImageRemoveRequest.cc.o [ 46%] Building CXX object src/os/CMakeFiles/os.dir/filestore/WBThrottle.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/io/AioCompletion.h:13, from /builddir/build/BUILD/dsms-storage/src/librbd/io/Utils.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/os/filestore/LFNIndex.h:27, from /builddir/build/BUILD/dsms-storage/src/os/filestore/HashIndex.h:20, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileStore.h:42, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileJournal.cc:22: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 46%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/ImageStateUpdateRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/CreateRequest.h:12, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/CreateRequest.cc:11: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/messages/MConfig.h:39:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/librbd/CMakeFiles/rbd_internal.dir/mirror/PromoteRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/io/SimpleSchedulerObjectDispatch.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage/src/librbd/image/RefreshRequest.h:9: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ObjectRequest.cc:15: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ReadResult.h:12, from /builddir/build/BUILD/dsms-storage/src/librbd/io/AioCompletion.h:15: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/LogMonitor.h:21: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librbd/managed_lock/AcquireRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/managed_lock/AcquireRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/ObjectDispatch.cc:7: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/journal/Journaler.h:10, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/OpenRequest.cc:8: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/OpenRequest.h:7, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/os/filestore/LFNIndex.h:27, from /builddir/build/BUILD/dsms-storage/src/os/filestore/HashIndex.h:20, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileStore.h:42: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/os/filestore/LFNIndex.h:27, from /builddir/build/BUILD/dsms-storage/src/os/filestore/HashIndex.h:20, from /builddir/build/BUILD/dsms-storage/src/os/filestore/HashIndex.cc:21: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/io/AioCompletion.h:13, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ReadResult.cc:7: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/OpenRequest.cc:9: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/Utils.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/RemoveRequest.cc:10: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/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 /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/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/common/AsyncOpTracker.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/ObjectMap.h:11, from /builddir/build/BUILD/dsms-storage/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( | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/RemoveRequest.h:11, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/RemoveRequest.cc:11: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/OSDMonitor.h:27: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 /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/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librbd/managed_lock/ReacquireRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/managed_lock/ReacquireRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/filestore/CollectionIndex.h:21, from /builddir/build/BUILD/dsms-storage/src/os/filestore/IndexManager.h:24, from /builddir/build/BUILD/dsms-storage/src/os/filestore/IndexManager.cc:28: /builddir/build/BUILD/dsms-storage/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 /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/src/include/unordered_map.h:4, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/OpenRequest.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/managed_lock/ReleaseRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/managed_lock/ReleaseRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/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/src/os/filestore/LFNIndex.h:27, from /builddir/build/BUILD/dsms-storage/src/os/filestore/HashIndex.h:20, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileStore.h:42: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 46%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/snapshot/CreateNonPrimaryRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/librbd/CMakeFiles/rbd_internal.dir/mirror/snapshot/CreatePrimaryRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 /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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/DemoteRequest.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/EnableRequest.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/EnableRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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 | ^~~~~~~~ [ 46%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/snapshot/DemoteRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/snap_types.h:4, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ObjectRequest.h:10: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/librbd/CMakeFiles/rbd_internal.dir/mirror/snapshot/GetImageStateRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/DemoteRequest.cc:11: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : 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/librbd/CMakeFiles/rbd_internal.dir/mirror/snapshot/ImageMeta.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage/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/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 In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/PromoteRequest.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/src/messages/MMonGetPurgedSnapsReply.h:35:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/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/src/include/denc.h:1554:23: required 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/src/mon/OSDMonitor.cc:1900:14: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/src/mon/OSDMonitor.cc:2012:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/PromoteRequest.cc:11: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/mirror/GetUuidRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/GetUuidRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/ObjectDispatch.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/mirror/ImageRemoveRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/ImageRemoveRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 46%] Building C object src/os/CMakeFiles/os.dir/filestore/os_xattr.c.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/ImageStateUpdateRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/ImageStateUpdateRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 46%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/snapshot/PromoteRequest.cc.o [ 46%] Building CXX object src/os/CMakeFiles/os.dir/memstore/MemStore.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/AuthMonitor.h:23: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 /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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/common/zipkin_trace.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/io/Utils.h:10: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/StandardPolicy.cc:6: /builddir/build/BUILD/dsms-storage/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/src/common/WorkQueue.h:28, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/os/filestore/LFNIndex.h:27, from /builddir/build/BUILD/dsms-storage/src/os/filestore/HashIndex.h:20, from /builddir/build/BUILD/dsms-storage/src/os/filestore/IndexManager.h:25: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 46%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/snapshot/RemoveImageStateRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/os/CMakeFiles/os.dir/kstore/KStore.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/Types.h:13, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/Replay.h:12, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/Replay.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/librbd/io/ImageRequestWQ.cc:1252:28: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/StandardPolicy.cc:7: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/ResetRequest.cc:12: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/messages/MMonGetPurgedSnapsReply.h:35:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/Monitor.h:30: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/OSDMonitor.cc:1900:14: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/OSDMonitor.cc:2012:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage/src/common/Cond.h:19, from /builddir/build/BUILD/dsms-storage/src/os/filestore/IndexManager.cc:23: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/stringify.h:7, from /builddir/build/BUILD/dsms-storage/src/mon/HealthMonitor.cc:22: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/mirror/GetInfoRequest.h:10, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/GetInfoRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/snap_types.h:4, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/Types.h:13, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/Utils.cc:7: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/Utils.h:9, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/os/filestore/WBThrottle.h:22, from /builddir/build/BUILD/dsms-storage/src/os/filestore/WBThrottle.cc:6: /builddir/build/BUILD/dsms-storage/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/src/include/unordered_map.h:4, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/managed_lock/AcquireRequest.cc:12: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/Replay.cc:9: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMonPaxos.h:108:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/filestore/LFNIndex.cc:26: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/mirror/snapshot/CreatePrimaryRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/snapshot/CreatePrimaryRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/snap_types.h:4, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/ObjectDispatch.h:10: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/managed_lock/GetLockerRequest.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/src/librbd/managed_lock/GetLockerRequest.h:8, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/CreateRequest.h:12, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/ResetRequest.cc:14: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/HealthMonitor.cc:118:9: required from here /builddir/build/BUILD/dsms-storage/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/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 In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ReadResult.h:12, from /builddir/build/BUILD/dsms-storage/src/librbd/io/AioCompletion.h:15, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/Replay.cc:14: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/HealthMonitor.cc:125:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/managed_lock/BreakRequest.cc:11: /builddir/build/BUILD/dsms-storage/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/src/msg/msg_types.h:18, from /builddir/build/BUILD/dsms-storage/src/librbd/managed_lock/BreakRequest.h:10, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string > >; traits = denc_traits, std::__cxx11::basic_string > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/Monitor.cc:2224:11: required from here /builddir/build/BUILD/dsms-storage/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/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 In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/mirror/snapshot/ImageMeta.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/snapshot/ImageMeta.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/managed_lock/ReacquireRequest.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/Monitor.h:30: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/librbd/CMakeFiles/rbd_internal.dir/mirror/snapshot/SetImageStateRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/librbd/CMakeFiles/rbd_internal.dir/mirror/snapshot/Types.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ManagedLock.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/ExclusiveLock.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/DemoteRequest.cc:8: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/DemoteRequest.h:7, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/managed_lock/ReleaseRequest.cc:12: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/DemoteRequest.cc:9: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/librbd/CMakeFiles/rbd_internal.dir/mirror/snapshot/UnlinkPeerRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/DemoteRequest.cc:11: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/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 /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/HealthMonitor.cc:118:9: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/HealthMonitor.cc:125:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMonPaxos.h:108:11: required from here /builddir/build/BUILD/dsms-storage/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/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 In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/EnableRequest.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/osd/osd_op_util.h:9, from /builddir/build/BUILD/dsms-storage/src/osd/OpRequest.h:17, from /builddir/build/BUILD/dsms-storage/src/osd/OSDCap.h:33, from /builddir/build/BUILD/dsms-storage/src/osd/OSDCap.cc:21: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string > >; traits = denc_traits, std::__cxx11::basic_string > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/Monitor.cc:2224:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 46%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/snapshot/Utils.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/snapshot/CreateNonPrimaryRequest.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/snapshot/CreateNonPrimaryRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/EnableRequest.cc:9: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/GetStatusRequest.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/GetStatusRequest.h:7, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/snapshot/PromoteRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/snapshot/PromoteRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 46%] Building CXX object src/os/CMakeFiles/os.dir/kstore/kstore_types.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/journal/Journaler.h:10, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/DisableRequest.cc:9: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/DisableRequest.h:7, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/MirroringWatcher.h:10, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/ImageRemoveRequest.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/DisableRequest.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/GetUuidRequest.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/MirroringWatcher.h:10, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/ImageStateUpdateRequest.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/os/filestore/chain_xattr.h:11, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileStore.cc:39: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ [ 46%] Building CXX object src/os/CMakeFiles/os.dir/fs/FS.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/os/filestore/LFNIndex.cc:31: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/PromoteRequest.cc:8: /builddir/build/BUILD/dsms-storage/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/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/PromoteRequest.h:7, from /builddir/build/BUILD/dsms-storage/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/GetInfoRequest.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/GetStatusRequest.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/DisableRequest.cc:12: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/GetInfoRequest.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/PromoteRequest.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 46%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/Allocator.cc.o [ 46%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/snapshot/WriteImageStateRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileStore.h:19: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 46%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/object_map/CreateRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:33: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 46%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/BitmapFreelistManager.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 47%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/object_map/DiffRequest.cc.o [ 47%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/object_map/InvalidateRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 47%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/BlockDevice.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 47%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/object_map/LockRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 47%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/object_map/RefreshRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 48%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/BlueFS.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 48%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/object_map/RemoveRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/snapshot/CreateNonPrimaryRequest.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/os/filestore/FileStore.cc:3587:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/snapshot/DemoteRequest.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/snapshot/DemoteRequest.h:7, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 48%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/bluefs_types.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/snapshot/CreatePrimaryRequest.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 48%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/BlueRocksEnv.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/snapshot/GetImageStateRequest.cc:7: /builddir/build/BUILD/dsms-storage/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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/snapshot/GetImageStateRequest.h:7, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/snapshot/ImageMeta.cc:9: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 48%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/object_map/Request.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 48%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/BlueStore.cc.o [ 48%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/bluestore_types.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/librbd/CMakeFiles/rbd_internal.dir/object_map/ResizeRequest.cc.o [ 48%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/object_map/SnapshotCreateRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/librbd/CMakeFiles/rbd_internal.dir/object_map/SnapshotRemoveRequest.cc.o [ 48%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/object_map/SnapshotRollbackRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/os/memstore/MemStore.h:26, from /builddir/build/BUILD/dsms-storage/src/os/memstore/MemStore.cc:28: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 48%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/object_map/UnlockRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/snapshot/PromoteRequest.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 48%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/fastbmap_allocator_impl.cc.o [ 48%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/FreelistManager.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/snapshot/Types.cc:5: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/librbd/mirror/snapshot/Types.cc:64:9: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/snapshot/RemoveImageStateRequest.cc:7: /builddir/build/BUILD/dsms-storage/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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/snapshot/RemoveImageStateRequest.h:7, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 48%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/object_map/UpdateRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/librbd/mirror/snapshot/Types.cc:64:9: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 48%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/DisableFeaturesRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/os/kstore/KStore.h:32, from /builddir/build/BUILD/dsms-storage/src/os/kstore/KStore.cc:26: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/os/kstore/kstore_types.h:20, from /builddir/build/BUILD/dsms-storage/src/os/kstore/kstore_types.cc:15: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 48%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/EnableFeaturesRequest.cc.o [ 48%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/StupidAllocator.cc.o [ 48%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/FlattenRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 48%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/BitmapAllocator.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/os/kstore/kstore_types.h:19: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/kstore/kstore_types.cc:55:9: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/kstore/kstore_types.cc:55:9: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 48%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/AvlAllocator.cc.o [ 48%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/HybridAllocator.cc.o [ 48%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/MetadataRemoveRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/Allocator.h:17, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/Allocator.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 48%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/io_uring.cc.o [ 48%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/MetadataSetRequest.cc.o [ 48%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/KernelDevice.cc.o [ 48%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/aio.cc.o [ 48%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/MigrateRequest.cc.o [ 48%] Building CXX object src/os/CMakeFiles/os.dir/FuseStore.cc.o [ 48%] Building CXX object src/os/CMakeFiles/os.dir/filestore/XfsFileStoreBackend.cc.o [ 48%] Building CXX object src/os/CMakeFiles/os.dir/fs/XFS.cc.o [ 48%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/ObjectMapIterate.cc.o [ 48%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/RebuildObjectMapRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/snapshot/UnlinkPeerRequest.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/snapshot/UnlinkPeerRequest.h:7, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/snapshot/SetImageStateRequest.cc:8: /builddir/build/BUILD/dsms-storage/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/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/snapshot/Types.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/snapshot/SetImageStateRequest.h:7, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 48%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/RenameRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/snapshot/Utils.cc:7: /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/FreelistManager.h:12, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/BitmapFreelistManager.h:7, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/BitmapFreelistManager.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/bluefs_types.h:8, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/bluefs_types.cc:5: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/os/bluestore/BlockDevice.h:38, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/BlockDevice.cc:20: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 48%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/Request.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/bluefs_types.h:8, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/BlueFS.h:10, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/BlueFS.cc:6: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/operation/ResizeRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/bluestore_types.cc:15: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/bluestore_types.h:21: /builddir/build/BUILD/dsms-storage/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/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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/snapshot/WriteImageStateRequest.cc:8: /builddir/build/BUILD/dsms-storage/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/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/snapshot/Types.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/mirror/snapshot/WriteImageStateRequest.h:7, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/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/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/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/librbd/CMakeFiles/rbd_internal.dir/operation/SnapshotCreateRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/osd/OSDCap.h:32: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/CreateRequest.cc:9: /builddir/build/BUILD/dsms-storage/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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/CreateRequest.h:7, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/bluestore_types.h:21: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/os/bluestore/bluestore_types.cc:33:9: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/fastbmap_allocator_impl.h:36, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/fastbmap_allocator_impl.cc:9: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/operation/SnapshotProtectRequest.cc.o /builddir/build/BUILD/dsms-storage/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/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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/os/bluestore/bluestore_types.cc:33:9: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/librbd/CMakeFiles/rbd_internal.dir/operation/SnapshotRemoveRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/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/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/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/os/memstore/MemStore.cc:342:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/FreelistManager.h:12, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/FreelistManager.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/Allocator.h:17, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/StupidAllocator.h:9, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/StupidAllocator.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/operation/SnapshotRenameRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/bluestore_types.h:21: /builddir/build/BUILD/dsms-storage/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/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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/bluestore_types.h:21: /builddir/build/BUILD/dsms-storage/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/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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/LockRequest.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/LockRequest.h:7, from /builddir/build/BUILD/dsms-storage/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/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/Allocator.h:17, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/BitmapAllocator.h:9, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/BitmapAllocator.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/os/kstore/KStore.h:26: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/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/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/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/RemoveRequest.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/RemoveRequest.h:7, from /builddir/build/BUILD/dsms-storage/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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/InvalidateRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/InvalidateRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/operation/SnapshotRollbackRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/RefreshRequest.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/RefreshRequest.h:8, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/DiffRequest.cc:7: /builddir/build/BUILD/dsms-storage/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/src/common/Formatter.h:9, from /builddir/build/BUILD/dsms-storage/src/common/bit_vector.hpp:14, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/DiffRequest.h:8, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/Allocator.h:17, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/AvlAllocator.h:9, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/AvlAllocator.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/kv/KeyValueDB.h:12, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/FreelistManager.h:11: /builddir/build/BUILD/dsms-storage/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/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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 49%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/SnapshotUnprotectRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/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/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/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 49%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/SnapshotLimitRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/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/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/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 49%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/SparsifyRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/common/Finisher.h:18, from /builddir/build/BUILD/dsms-storage/src/os/kstore/KStore.h:28: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/Allocator.h:17, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/AvlAllocator.h:9, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/HybridAllocator.h:8, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/HybridAllocator.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/kv/KeyValueDB.h:12, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/FreelistManager.h:11: /builddir/build/BUILD/dsms-storage/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/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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/ceph_aio.h:19, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/BlockDevice.h:34: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/CreateRequest.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/operation/TrimRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/RefreshRequest.cc:14: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/DiffRequest.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/os/bluestore/KernelDevice.h:21, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/KernelDevice.cc:22: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/librbd/CMakeFiles/rbd_internal.dir/trash/MoveRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/Request.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/Request.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/trash/RemoveRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/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/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/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/Request.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/SnapshotCreateRequest.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/SnapshotCreateRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/common/Formatter.h:9, from /builddir/build/BUILD/dsms-storage/src/common/bit_vector.hpp:14, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/Request.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/ResizeRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/ResizeRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/librbd/CMakeFiles/rbd_internal.dir/watcher/Notifier.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/SnapshotRemoveRequest.h:10, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/SnapshotRemoveRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/BlueStore.h:48, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/BlueStore.cc:27: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/ResizeRequest.cc:7: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/bluefs_types.h:8, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/BlueFS.h:10, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/BlueRocksEnv.cc:5: /builddir/build/BUILD/dsms-storage/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/src/os/bluestore/BlueRocksEnv.h:6, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/watcher/RewatchRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/os/kstore/KStore.cc:1327:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/librbd/CMakeFiles/rbd_internal.dir/__/common/ContextCompletion.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/Request.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/SnapshotRollbackRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/SnapshotRollbackRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/EnableFeaturesRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/EnableFeaturesRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/FlattenRequest.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/FlattenRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/CreateRequest.cc:6: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/UnlockRequest.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/cls/lock/cls_lock_types.h:7, from /builddir/build/BUILD/dsms-storage/src/cls/lock/cls_lock_client.h:10, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/Request.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/UpdateRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/UpdateRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/DisableFeaturesRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/DisableFeaturesRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/os/bluestore/bluestore_common.h:19, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/BlueFS.cc:5: /builddir/build/BUILD/dsms-storage/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/src/os/bluestore/BlueFS.cc:369:40: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/os/bluestore/BlueFS.cc:384:26: required from here /builddir/build/BUILD/dsms-storage/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/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/src/os/bluestore/Allocator.h:16: /builddir/build/BUILD/dsms-storage/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/src/os/bluestore/StupidAllocator.cc:47:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ [ 49%] Linking CXX static library ../../lib/libclient.a In file included from /builddir/build/BUILD/dsms-storage/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:11, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/DisableFeaturesRequest.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/MetadataRemoveRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/MetadataRemoveRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/kv/RocksDBStore.h:6, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/BlueRocksEnv.h:14: /builddir/build/BUILD/dsms-storage/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/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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/bluestore_types.h:21: /builddir/build/BUILD/dsms-storage/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/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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/bluestore_types.h:21: /builddir/build/BUILD/dsms-storage/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/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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/SnapshotCreateRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/SnapshotCreateRequest.cc:5: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/os/FuseStore.cc:7: /builddir/build/BUILD/dsms-storage/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/src/os/FuseStore.h:7, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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%] Built target client In file included from /builddir/build/BUILD/dsms-storage/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/MetadataSetRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/MetadataSetRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/bluestore_types.h:21: /builddir/build/BUILD/dsms-storage/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/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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/MigrateRequest.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/MigrateRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/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/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/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/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/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/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/bluestore_types.h:21: /builddir/build/BUILD/dsms-storage/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/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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/common/bit_vector.hpp:16, from /builddir/build/BUILD/dsms-storage/src/librbd/object_map/RefreshRequest.h:9: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/common/bit_vector.hpp:16: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/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/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/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 49%] Built target rgw_common /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/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/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/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/bluestore_types.h:21: /builddir/build/BUILD/dsms-storage/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/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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/RebuildObjectMapRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/RebuildObjectMapRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/RenameRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/RenameRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/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/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/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileStore.h:33, from /builddir/build/BUILD/dsms-storage/src/os/filestore/GenericFileStoreBackend.h:18, from /builddir/build/BUILD/dsms-storage/src/os/filestore/XfsFileStoreBackend.h:18, from /builddir/build/BUILD/dsms-storage/src/os/filestore/XfsFileStoreBackend.cc:15: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/RebuildObjectMapRequest.cc:7: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage/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/src/os/bluestore/KernelDevice.cc:754:25: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/ObjectMapIterate.h:11, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/ObjectMapIterate.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/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/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/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/ObjectMapIterate.cc:7: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/ResizeRequest.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/ResizeRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/watcher/RewatchRequest.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/watcher/RewatchRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/AsyncRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/SnapshotCreateRequest.h:9: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/SnapshotProtectRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/SnapshotProtectRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/SnapshotRemoveRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/SnapshotRemoveRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/trash/MoveRequest.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/trash/MoveRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/utime.h:18, from /builddir/build/BUILD/dsms-storage/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/src/librbd/trash/RemoveRequest.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/trash/RemoveRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/utime.h:18, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/buffer.h:59, from /builddir/build/BUILD/dsms-storage/src/os/FuseStore.h:13: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/SnapshotRenameRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/SnapshotRenameRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:18: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/SnapshotRollbackRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/SnapshotRollbackRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/SnapshotLimitRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/SnapshotLimitRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/SnapshotUnprotectRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/SnapshotUnprotectRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/SparsifyRequest.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/SparsifyRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/Request.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/os/filestore/LFNIndex.h:27, from /builddir/build/BUILD/dsms-storage/src/os/filestore/HashIndex.h:20, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileStore.h:42: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/TrimRequest.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/TrimRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librbd/watcher/Notifier.h:10, from /builddir/build/BUILD/dsms-storage/src/librbd/watcher/Notifier.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/trash/MoveRequest.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/watcher/Notifier.cc:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/TrimRequest.cc:16: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/trash/RemoveRequest.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/librbd/AsyncRequest.h:6: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 /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/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage/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( | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/os/bluestore/bluestore_common.h:19, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/BlueStore.cc:26: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/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/src/os/bluestore/BlueStore.cc:6434:22: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/BlueStore.h:39: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h:1556: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/src/os/bluestore/BlueStore.cc:5978:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Linking CXX static library ../../lib/librbd_internal.a [ 49%] Built target rbd_internal [ 49%] Linking CXX static library ../../lib/libmds.a In file included from /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree_set.h:49, from /builddir/build/BUILD/dsms-storage/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/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/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/include/cpp-btree/btree.h:2417:29: /builddir/build/BUILD/dsms-storage/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/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/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/include/cpp-btree/btree.h:2417:29: /builddir/build/BUILD/dsms-storage/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/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/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/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/include/cpp-btree/btree.h:2417:29: /builddir/build/BUILD/dsms-storage/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/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/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/include/cpp-btree/btree.h:2417:29: /builddir/build/BUILD/dsms-storage/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 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/src/os/bluestore/BlueStore.h:1247:7, inlined from 'void BlueStore::Extent::assign_blob(const BlueStore::BlobRef&)' at /builddir/build/BUILD/dsms-storage/src/os/bluestore/BlueStore.h:724:49, inlined from 'unsigned int BlueStore::ExtentMap::decode_some(ceph::bufferlist&)' at /builddir/build/BUILD/dsms-storage/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/src/os/bluestore/BlueStore.h:1247:7, inlined from 'void BlueStore::Extent::assign_blob(const BlueStore::BlobRef&)' at /builddir/build/BUILD/dsms-storage/src/os/bluestore/BlueStore.h:724:49, inlined from 'unsigned int BlueStore::ExtentMap::decode_some(ceph::bufferlist&)' at /builddir/build/BUILD/dsms-storage/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/src/os/bluestore/BlueStore.h:1247:7, inlined from 'void BlueStore::Extent::assign_blob(const BlueStore::BlobRef&)' at /builddir/build/BUILD/dsms-storage/src/os/bluestore/BlueStore.h:724:49, inlined from 'unsigned int BlueStore::ExtentMap::decode_some(ceph::bufferlist&)' at /builddir/build/BUILD/dsms-storage/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)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 49%] Built target mds [ 49%] Linking CXX static library ../../lib/libmon.a [ 49%] Linking CXX static library ../../lib/libos.a [ 49%] Built target mon [ 49%] Built target os [ 49%] Building CXX object src/osd/CMakeFiles/osd.dir/PG.cc.o [ 49%] Building CXX object src/osd/CMakeFiles/osd.dir/ClassHandler.cc.o [ 49%] Building CXX object src/osd/CMakeFiles/osd.dir/Watch.cc.o [ 50%] Building CXX object src/osd/CMakeFiles/osd.dir/OSD.cc.o [ 50%] Building CXX object src/osd/CMakeFiles/osd.dir/PGLog.cc.o [ 50%] Building CXX object src/osd/CMakeFiles/osd.dir/PrimaryLogPG.cc.o [ 50%] Building CXX object src/osd/CMakeFiles/osd.dir/ReplicatedBackend.cc.o [ 50%] Building CXX object src/osd/CMakeFiles/osd.dir/ECBackend.cc.o [ 50%] Building CXX object src/osd/CMakeFiles/osd.dir/ECTransaction.cc.o [ 50%] Building CXX object src/osd/CMakeFiles/osd.dir/PGBackend.cc.o [ 50%] Building CXX object src/osd/CMakeFiles/osd.dir/OSDCap.cc.o [ 50%] Building CXX object src/osd/CMakeFiles/osd.dir/Session.cc.o [ 50%] Building CXX object src/osd/CMakeFiles/osd.dir/SnapMapper.cc.o [ 50%] Building CXX object src/osd/CMakeFiles/osd.dir/osd_types.cc.o [ 50%] Building CXX object src/osd/CMakeFiles/osd.dir/ScrubStore.cc.o [ 50%] Building CXX object src/osd/CMakeFiles/osd.dir/ECUtil.cc.o [ 50%] Building CXX object src/osd/CMakeFiles/osd.dir/ExtentCache.cc.o [ 50%] Building CXX object src/osd/CMakeFiles/osd.dir/scheduler/OpScheduler.cc.o [ 50%] Building CXX object src/osd/CMakeFiles/osd.dir/scheduler/OpSchedulerItem.cc.o [ 50%] Building CXX object src/osd/CMakeFiles/osd.dir/scheduler/mClockScheduler.cc.o [ 50%] Building CXX object src/osd/CMakeFiles/osd.dir/PeeringState.cc.o [ 50%] Building CXX object src/osd/CMakeFiles/osd.dir/PGStateUtils.cc.o [ 51%] Building CXX object src/osd/CMakeFiles/osd.dir/MissingLoc.cc.o [ 51%] Building CXX object src/osd/CMakeFiles/osd.dir/osd_perf_counters.cc.o [ 51%] Building CXX object src/osd/CMakeFiles/osd.dir/__/common/TrackedOp.cc.o [ 51%] Building CXX object src/osd/CMakeFiles/osd.dir/__/mgr/OSDPerfMetricTypes.cc.o [ 51%] Building CXX object src/osd/CMakeFiles/osd.dir/__/osdc/Objecter.cc.o [ 51%] Building CXX object src/osd/CMakeFiles/osd.dir/__/osdc/Striper.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/ExtentCache.h:25, from /builddir/build/BUILD/dsms-storage/src/osd/ExtentCache.cc:15: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/mgr/OSDPerfMetricTypes.h:7, from /builddir/build/BUILD/dsms-storage/src/mgr/OSDPerfMetricTypes.cc:4: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/PGLog.h:22, from /builddir/build/BUILD/dsms-storage/src/osd/PGLog.cc:18: /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/PGPeeringEvent.h:8, from /builddir/build/BUILD/dsms-storage/src/osd/PeeringState.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/osd/SnapMapper.h:28, from /builddir/build/BUILD/dsms-storage/src/osd/ScrubStore.h:7, from /builddir/build/BUILD/dsms-storage/src/osd/ScrubStore.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/osd/SnapMapper.h:28, from /builddir/build/BUILD/dsms-storage/src/osd/SnapMapper.cc:15: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/PG.h:35, from /builddir/build/BUILD/dsms-storage/src/osd/Session.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/PG.h:35, from /builddir/build/BUILD/dsms-storage/src/osd/PG.cc:15: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/common/scrub_types.h:7, from /builddir/build/BUILD/dsms-storage/src/osd/PGBackend.cc:20: /builddir/build/BUILD/dsms-storage/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/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.cc:38: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/osd/MissingLoc.h:9, from /builddir/build/BUILD/dsms-storage/src/osd/MissingLoc.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/PGBackend.h:21, from /builddir/build/BUILD/dsms-storage/src/osd/ReplicatedBackend.h:18, from /builddir/build/BUILD/dsms-storage/src/osd/ReplicatedBackend.cc:15: /builddir/build/BUILD/dsms-storage/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/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/osd/osd_op_util.h:9, from /builddir/build/BUILD/dsms-storage/src/osd/OpRequest.h:17, from /builddir/build/BUILD/dsms-storage/src/osd/scheduler/OpSchedulerItem.h:21, from /builddir/build/BUILD/dsms-storage/src/osd/scheduler/OpScheduler.h:20, from /builddir/build/BUILD/dsms-storage/src/osd/scheduler/OpScheduler.cc:17: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/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("") | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/PG.h:35, from /builddir/build/BUILD/dsms-storage/src/osd/Watch.cc:2: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/PG.h:35, from /builddir/build/BUILD/dsms-storage/src/osd/OSD.h:18, from /builddir/build/BUILD/dsms-storage/src/osd/ECBackend.h:21, from /builddir/build/BUILD/dsms-storage/src/osd/ECBackend.cc:18: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/PG.h:35, from /builddir/build/BUILD/dsms-storage/src/osd/OSD.h:18, from /builddir/build/BUILD/dsms-storage/src/osd/ECTransaction.h:18, from /builddir/build/BUILD/dsms-storage/src/osd/ECTransaction.cc:19: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/osd/osd_op_util.h:9, from /builddir/build/BUILD/dsms-storage/src/osd/OpRequest.h:17, from /builddir/build/BUILD/dsms-storage/src/osd/scheduler/OpSchedulerItem.h:21, from /builddir/build/BUILD/dsms-storage/src/osd/scheduler/OpScheduler.h:20, from /builddir/build/BUILD/dsms-storage/src/osd/scheduler/mClockScheduler.h:26, from /builddir/build/BUILD/dsms-storage/src/osd/scheduler/mClockScheduler.cc:19: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.cc:15: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/PG.h:35, from /builddir/build/BUILD/dsms-storage/src/osd/PrimaryLogPG.cc:20: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/PG.h:35, from /builddir/build/BUILD/dsms-storage/src/osd/OSD.cc:38: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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%] Built target common-common-objs [ 51%] Linking CXX static library ../lib/libcommon.a [ 51%] Linking CXX shared library ../lib/libceph-common.so In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/osd/osd_op_util.h:9, from /builddir/build/BUILD/dsms-storage/src/osd/OpRequest.h:17, from /builddir/build/BUILD/dsms-storage/src/osd/scheduler/OpSchedulerItem.h:21, from /builddir/build/BUILD/dsms-storage/src/osd/scheduler/OpSchedulerItem.cc:15: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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("") | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/common/histogram.h:18, from /builddir/build/BUILD/dsms-storage/src/common/TrackedOp.h:19, from /builddir/build/BUILD/dsms-storage/src/common/TrackedOp.cc:13: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.cc:17: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/osd/PG.h:36: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/osd/PG.h:36: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/osd/PG.h:36: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/osd/PG.h:36: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/osd/PG.h:36: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/osd/PG.h:36: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/osd/PG.h:36: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/osd/PG.h:36, from /builddir/build/BUILD/dsms-storage/src/osd/scheduler/OpSchedulerItem.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/osd/PG.h:36, from /builddir/build/BUILD/dsms-storage/src/osd/scheduler/OpSchedulerItem.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/common/map_cacher.hpp:18, from /builddir/build/BUILD/dsms-storage/src/osd/SnapMapper.h:23: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/common/map_cacher.hpp:18, from /builddir/build/BUILD/dsms-storage/src/osd/SnapMapper.h:23: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/btree_map.h:10, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:34: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/osd/PG.h:36, from /builddir/build/BUILD/dsms-storage/src/osd/scheduler/OpSchedulerItem.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:33: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/osd/osd_op_util.h:9, from /builddir/build/BUILD/dsms-storage/src/osd/OpRequest.h:17, from /builddir/build/BUILD/dsms-storage/src/osd/OSDCap.h:33, from /builddir/build/BUILD/dsms-storage/src/osd/OSDCap.cc:21: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MPoolOp.h:18, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.cc:32: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/common/TrackedOp.cc: In constructor 'OpTracker::OpTracker(ceph::common::CephContext*, bool, uint32_t)': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage/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/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/src/osd/PG.h:36, from /builddir/build/BUILD/dsms-storage/src/osd/OSD.h:18, from /builddir/build/BUILD/dsms-storage/src/osd/ECBackend.h:21, from /builddir/build/BUILD/dsms-storage/src/osd/PGBackend.cc:23: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/PG.h:36, from /builddir/build/BUILD/dsms-storage/src/osd/OSD.h:18, from /builddir/build/BUILD/dsms-storage/src/osd/ReplicatedBackend.cc:25: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.cc:31: /builddir/build/BUILD/dsms-storage/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/src/osd/osd_types.cc:4517:24: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/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/src/osd/osd_types.cc:4532:21: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rados/buffer.h:59, from /builddir/build/BUILD/dsms-storage/src/include/rados/rados_types.hpp:10, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:32: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string > >; traits = denc_traits, std::__cxx11::basic_string > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.cc:528:9: required from here /builddir/build/BUILD/dsms-storage/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/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 In file included from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:31, from /builddir/build/BUILD/dsms-storage/src/osd/PG.h:27: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.cc:1909:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osd/osd_types.cc:2011:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.cc:5576:9: required from here /builddir/build/BUILD/dsms-storage/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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.cc:5578:9: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:33: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/cmdparse.h:10, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:31, from /builddir/build/BUILD/dsms-storage/src/osd/scheduler/OpScheduler.h:19: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string > >; traits = denc_traits, std::__cxx11::basic_string > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.cc:528:9: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.cc:1909:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osd/osd_types.cc:2011:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/src/osd/osd_types.cc:4677:11: required from here /builddir/build/BUILD/dsms-storage/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/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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:32: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.cc:5576:9: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.cc:5577:9: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.cc:5578:9: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/cmdparse.h:10, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:31, from /builddir/build/BUILD/dsms-storage/src/osd/scheduler/OpScheduler.h:19: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/src/osd/PeeringState.cc:2411:21: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/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/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/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/src/osd/osd_types.cc:1849:18: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:31: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 51%] Built target ceph-common /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 51%] Building CXX object src/test/CMakeFiles/ceph_test_cfuse_cache_invalidate.dir/test_cfuse_cache_invalidate.cc.o [ 51%] Building CXX object src/librados/CMakeFiles/librados.dir/librados_c.cc.o [ 51%] Linking CXX static library ../../lib/libglobal.a [ 51%] Building CXX object src/librados/CMakeFiles/librados.dir/librados_cxx.cc.o [ 51%] Building CXX object src/test/CMakeFiles/test_build_libcommon.dir/buildtest_skeleton.cc.o [ 51%] Building CXX object src/test/CMakeFiles/ceph_test_rewrite_latency.dir/test_rewrite_latency.cc.o [ 51%] Building CXX object src/test/CMakeFiles/test_crypto.dir/testcrypto.cc.o [ 51%] Building CXX object src/test/librados/CMakeFiles/radostest-cxx.dir/test_cxx.cc.o [ 51%] Building CXX object src/test/librados/CMakeFiles/radostest-cxx.dir/testcase_cxx.cc.o [ 51%] Building CXX object src/test/CMakeFiles/unittest_encoding.dir/encoding.cc.o [ 51%] Building CXX object src/test/CMakeFiles/ceph_test_get_blkdev_props.dir/test_get_blkdev_props.cc.o [ 52%] Building CXX object src/test/CMakeFiles/unittest_addrs.dir/test_addrs.cc.o [ 52%] Building CXX object src/test/CMakeFiles/ceph_test_admin_socket_output.dir/test_admin_socket_output.cc.o [ 52%] Building CXX object src/test/CMakeFiles/unittest_xlist.dir/test_xlist.cc.o [ 52%] Building CXX object src/test/CMakeFiles/unittest_escape.dir/escape.cc.o [ 52%] Building CXX object src/test/CMakeFiles/unittest_utime.dir/test_utime.cc.o [ 52%] Building CXX object src/test/CMakeFiles/unittest_mime.dir/mime.cc.o [ 52%] Building CXX object src/test/CMakeFiles/unittest_confutils.dir/confutils.cc.o [ 52%] Building CXX object src/test/CMakeFiles/unittest_strtol.dir/strtol.cc.o [ 52%] Building CXX object src/test/CMakeFiles/unittest_texttable.dir/test_texttable.cc.o [ 52%] Building CXX object src/test/CMakeFiles/unittest_on_exit.dir/on_exit.cc.o [ 52%] Building CXX object src/test/common/CMakeFiles/unittest_prioritized_queue.dir/test_prioritized_queue.cc.o [ 52%] Building CXX object src/test/CMakeFiles/unittest_subprocess.dir/test_subprocess.cc.o [ 52%] Building CXX object src/test/common/CMakeFiles/unittest_numa.dir/test_numa.cc.o [ 52%] Building CXX object src/test/common/CMakeFiles/unittest_lockdep.dir/test_lockdep.cc.o [ 52%] Building CXX object src/test/CMakeFiles/unittest_pageset.dir/test_pageset.cc.o [ 52%] Building CXX object src/test/common/CMakeFiles/unittest_counter.dir/test_counter.cc.o [ 52%] Building CXX object src/test/common/CMakeFiles/unittest_histogram.dir/histogram.cc.o [ 52%] Building CXX object src/test/common/CMakeFiles/unittest_config.dir/test_config.cc.o [ 52%] Building CXX object src/test/common/CMakeFiles/unittest_mclock_priority_queue.dir/test_mclock_priority_queue.cc.o [ 52%] Building CXX object src/test/common/CMakeFiles/unittest_bloom_filter.dir/test_bloom_filter.cc.o [ 52%] Building CXX object src/test/common/CMakeFiles/unittest_time.dir/test_time.cc.o [ 52%] Building CXX object src/test/common/CMakeFiles/unittest_str_map.dir/test_str_map.cc.o [ 52%] Building CXX object src/CMakeFiles/cephfs.dir/libcephfs.cc.o [ 52%] Building CXX object src/test/common/CMakeFiles/unittest_crc32c.dir/test_crc32c.cc.o [ 52%] Building CXX object src/test/common/CMakeFiles/unittest_lru.dir/test_lru.cc.o [ 52%] Building CXX object src/test/common/CMakeFiles/unittest_intrusive_lru.dir/test_intrusive_lru.cc.o [ 52%] Building CXX object src/test/common/CMakeFiles/unittest_context.dir/test_context.cc.o [ 52%] Building CXX object src/test/common/CMakeFiles/unittest_url_escape.dir/test_url_escape.cc.o [ 52%] Building CXX object src/test/common/CMakeFiles/unittest_tableformatter.dir/test_tableformatter.cc.o [ 52%] Building CXX object src/test/common/CMakeFiles/unittest_safe_io.dir/test_safe_io.cc.o [ 52%] Building CXX object src/test/common/CMakeFiles/unittest_xmlformatter.dir/test_xmlformatter.cc.o [ 52%] Building CXX object src/test/common/CMakeFiles/unittest_interval_set.dir/test_interval_set.cc.o [ 52%] Building CXX object src/test/common/CMakeFiles/unittest_perf_histogram.dir/test_perf_histogram.cc.o [ 52%] Building CXX object src/test/common/CMakeFiles/unittest_weighted_priority_queue.dir/test_weighted_priority_queue.cc.o [ 52%] Building CXX object src/test/common/CMakeFiles/unittest_bit_vector.dir/test_bit_vector.cc.o [ 52%] Building CXX object src/test/common/CMakeFiles/unittest_iso_8601.dir/test_iso_8601.cc.o [ 52%] Building CXX object src/test/common/CMakeFiles/unittest_interval_map.dir/test_interval_map.cc.o [ 52%] Building CXX object src/test/common/CMakeFiles/unittest_shunique_lock.dir/test_shunique_lock.cc.o [ 52%] Building CXX object src/test/common/CMakeFiles/unittest_async_shared_mutex.dir/test_async_shared_mutex.cc.o [ 52%] Building CXX object src/test/common/CMakeFiles/unittest_back_trace.dir/test_back_trace.cc.o [ 52%] Building CXX object src/test/librados/CMakeFiles/radostest.dir/test_common.cc.o [ 52%] Building CXX object src/test/common/CMakeFiles/unittest_mutex_debug.dir/test_mutex_debug.cc.o [ 52%] Building CXX object src/test/common/CMakeFiles/unittest_hostname.dir/test_hostname.cc.o [ 52%] Building CXX object src/test/crush/CMakeFiles/unittest_crush_wrapper.dir/CrushWrapper.cc.o [ 52%] Building CXX object src/test/crush/CMakeFiles/unittest_crush.dir/crush.cc.o [ 52%] Building CXX object src/test/objectstore/CMakeFiles/unittest_transaction.dir/test_transaction.cc.o [ 52%] Building CXX object src/test/common/CMakeFiles/unittest_readahead.dir/Readahead.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h:1556: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/src/osd/osd_types.cc:4576:9: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 52%] Linking CXX executable ../../bin/test_build_libcommon [ 52%] Linking CXX executable ../../bin/ceph_test_cfuse_cache_invalidate /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/test_xlist.cc:4: /builddir/build/BUILD/dsms-storage/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/src/test/test_xlist.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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 52%] Linking CXX executable ../../bin/unittest_on_exit [ 52%] Built target test_build_libcommon [ 52%] Building CXX object src/test/librados/CMakeFiles/radostest.dir/TestCase.cc.o [ 52%] Built target ceph_test_cfuse_cache_invalidate [ 52%] Building CXX object src/test/librados/CMakeFiles/radostest.dir/test.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Built target unittest_on_exit [ 52%] Building CXX object src/test/common/CMakeFiles/unittest_config.dir/test_hostname.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/PG.cc: In member function 'void PG::scrub_compare_maps()': /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/mempool.h:31, from /builddir/build/BUILD/dsms-storage/src/osd/PG.h:27: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/librados/testcase_cxx.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librados/testcase_cxx.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/googletest/googletest/include/gtest/gtest.h:57, from /builddir/build/BUILD/dsms-storage/src/test/librados/testcase_cxx.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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 52%] Built target global [ 52%] Building CXX object src/os/CMakeFiles/ceph-bluestore-tool.dir/bluestore/bluestore_tool.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/PrimaryLogPG.cc:28: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/osd/scheduler/OpSchedulerItem.h:19: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rados/buffer.h:59, from /builddir/build/BUILD/dsms-storage/src/include/rados/rados_types.hpp:10, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:32: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rados/buffer.h:59, from /builddir/build/BUILD/dsms-storage/src/include/rados/rados_types.hpp:10, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:32: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/common/test_interval_set.cc:19: /builddir/build/BUILD/dsms-storage/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/src/googletest/googletest/include/gtest/gtest.h:57, from /builddir/build/BUILD/dsms-storage/src/test/common/test_interval_set.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/mempool.h:31, from /builddir/build/BUILD/dsms-storage/src/osd/PG.h:27: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ [ 52%] Building CXX object src/tools/CMakeFiles/ceph-osdomap-tool.dir/ceph_osdomap_tool.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:31, from /builddir/build/BUILD/dsms-storage/src/osd/PG.h:27: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ [ 53%] Linking CXX executable ../../../bin/unittest_safe_io In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/osd/OSDCap.h:32: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/common/interval_map.h:18, from /builddir/build/BUILD/dsms-storage/src/test/common/test_interval_map.cc:20: /builddir/build/BUILD/dsms-storage/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/src/googletest/googletest/include/gtest/gtest.h:57, from /builddir/build/BUILD/dsms-storage/src/test/common/test_interval_map.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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%] Linking CXX executable ../../../bin/unittest_url_escape /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 53%] Linking CXX executable ../../../bin/unittest_hostname [ 53%] Linking CXX executable ../../../bin/unittest_counter /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage/src/include/interval_set.h:23: /builddir/build/BUILD/dsms-storage/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/src/test/common/test_interval_set.cc:59:14: required from 'void IntervalSetTest_compare_Test::TestBody() [with gtest_TypeParam_ = interval_set]' /builddir/build/BUILD/dsms-storage/src/test/common/test_interval_set.cc:43:1: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/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]': /builddir/build/BUILD/dsms-storage/src/test/common/test_interval_set.cc:546:14: required from 'void IntervalSetTest_subset_of_Test::TestBody() [with gtest_TypeParam_ = interval_set >]' /builddir/build/BUILD/dsms-storage/src/test/common/test_interval_set.cc:513:1: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = long unsigned int; Map = boost::container::flat_map]': /builddir/build/BUILD/dsms-storage/src/test/common/test_interval_set.cc:298:14: required from 'void IntervalSetTest_insert_erase_Test::TestBody() [with gtest_TypeParam_ = interval_set >]' /builddir/build/BUILD/dsms-storage/src/test/common/test_interval_set.cc:218:1: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 53%] Built target unittest_url_escape [ 53%] Linking CXX executable ../../../bin/unittest_numa [ 53%] Building CXX object src/tools/CMakeFiles/ceph-monstore-tool.dir/ceph_monstore_tool.cc.o [ 53%] Built target unittest_hostname [ 53%] Building CXX object src/tools/CMakeFiles/ceph-monstore-tool.dir/__/mgr/mgr_commands.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 53%] Built target unittest_counter [ 53%] Building CXX object src/test/common/CMakeFiles/unittest_time.dir/__/__/common/ceph_time.cc.o [ 53%] Linking CXX executable ../../../bin/unittest_iso_8601 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/test/librados/test_cxx.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librados/test_cxx.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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%] Linking CXX executable ../../bin/unittest_xlist In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:32: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Linking CXX executable ../../../bin/unittest_xmlformatter /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Built target unittest_numa [ 53%] Building CXX object src/tools/CMakeFiles/ceph-kvstore-tool.dir/kvstore_tool.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Built target unittest_safe_io /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 54%] Building CXX object src/tools/CMakeFiles/ceph-conf.dir/ceph_conf.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 54%] Building CXX object src/tools/CMakeFiles/ceph-kvstore-tool.dir/ceph_kvstore_tool.cc.o [ 54%] Built target unittest_iso_8601 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/CMakeFiles/crushtool.dir/crushtool.cc.o [ 54%] Built target unittest_xlist /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 54%] Building CXX object src/tools/CMakeFiles/monmaptool.dir/monmaptool.cc.o [ 54%] Linking CXX executable ../../../bin/unittest_tableformatter /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 54%] Built target unittest_xmlformatter [ 54%] Building CXX object src/tools/CMakeFiles/osdmaptool.dir/osdmaptool.cc.o [ 54%] Linking CXX executable ../../bin/unittest_texttable In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:33: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:33: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/test/librados/test.cc:5: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 54%] Linking CXX executable ../../bin/unittest_escape /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:32: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 54%] Linking CXX executable ../../bin/unittest_mime /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 54%] Linking CXX executable ../../../bin/unittest_str_map /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Built target unittest_tableformatter /builddir/build/BUILD/dsms-storage/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/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/src/osd/PG.cc:1720:36: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/tools/CMakeFiles/ceph_psim.dir/psim.cc.o [ 54%] Linking CXX executable ../../../bin/unittest_intrusive_lru [ 54%] Building CXX object src/tools/CMakeFiles/ceph-authtool.dir/ceph_authtool.cc.o [ 54%] Building CXX object src/tools/erasure-code/CMakeFiles/ceph-erasure-code-tool.dir/__/__/osd/ECUtil.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 54%] Built target unittest_texttable /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 54%] Building CXX object src/test/CMakeFiles/ceph_test_timers.dir/TestTimers.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Built target unittest_escape [ 54%] Building CXX object src/test/CMakeFiles/ceph_test_signal_handlers.dir/TestSignalHandlers.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 54%] Building CXX object src/test/CMakeFiles/ceph_bench_log.dir/bench_log.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:32: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 54%] Built target unittest_mime [ 54%] Linking CXX executable ../../bin/ceph_test_get_blkdev_props [ 55%] Building CXX object src/test/CMakeFiles/test_trans.dir/test_trans.cc.o [ 55%] Built target unittest_str_map /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 55%] Building CXX object src/tools/erasure-code/CMakeFiles/ceph-erasure-code-tool.dir/ceph-erasure-code-tool.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 55%] Built target unittest_intrusive_lru /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 55%] Building CXX object src/test/CMakeFiles/ceph_objectstore_bench.dir/objectstore_bench.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Built target ceph_test_get_blkdev_props [ 55%] Built target common [ 55%] Building CXX object src/test/CMakeFiles/ceph_test_admin_socket_output.dir/admin_socket_output.cc.o [ 55%] Linking CXX executable ../../bin/ceph_test_rewrite_latency /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 55%] Building CXX object src/test/CMakeFiles/ceph_perf_local.dir/perf_local.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/test/common/test_lru.cc:20: /builddir/build/BUILD/dsms-storage/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/memory:63, from /builddir/build/BUILD/dsms-storage/src/googletest/googletest/include/gtest/gtest.h:57, from /builddir/build/BUILD/dsms-storage/src/test/common/test_lru.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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/mempool.h:31, from /builddir/build/BUILD/dsms-storage/src/osd/PG.h:27: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/src/osd/ReplicatedBackend.cc:1235:23: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 55%] Built target ceph_test_rewrite_latency /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 55%] Building CXX object src/test/CMakeFiles/ceph_test_filejournal.dir/test_filejournal.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/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/src/include/denc.h:1554:23: required 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/src/cls/cas/cls_cas_ops.h:126:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 55%] Linking CXX executable ../../../bin/unittest_mutex_debug /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 55%] Linking CXX executable ../../../bin/unittest_perf_histogram [ 55%] Linking CXX executable ../../../bin/unittest_prioritized_queue /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/common/histogram.cc:12: In function 'testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const char*, const T1&, const T2&) [with T1 = unsigned int; T2 = long unsigned int]', inlined from 'static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, const T1&, const T2&) [with T1 = unsigned int; T2 = long unsigned int; typename std::enable_if<((! std::is_integral<_Tp>::value) || (! std::is_pointer<_T2>::value))>::type* = 0]' at /builddir/build/BUILD/dsms-storage/src/googletest/googletest/include/gtest/gtest.h:1554:64, inlined from 'virtual void Histogram_Position3_Test::TestBody()' at /builddir/build/BUILD/dsms-storage/src/test/common/histogram.cc:95:3: /builddir/build/BUILD/dsms-storage/src/googletest/googletest/include/gtest/gtest.h:1527:11: warning: 'lb' may be used uninitialized [-Wmaybe-uninitialized] 1527 | if (lhs == rhs) { | ~~~~^~~~~~ /builddir/build/BUILD/dsms-storage/src/test/common/histogram.cc: In member function 'virtual void Histogram_Position3_Test::TestBody()': /builddir/build/BUILD/dsms-storage/src/test/common/histogram.cc:93:12: note: 'lb' declared here 93 | uint64_t lb, ub; | ^~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 function 'testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const char*, const T1&, const T2&) [with T1 = unsigned int; T2 = long unsigned int]', inlined from 'static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, const T1&, const T2&) [with T1 = unsigned int; T2 = long unsigned int; typename std::enable_if<((! std::is_integral<_Tp>::value) || (! std::is_pointer<_T2>::value))>::type* = 0]' at /builddir/build/BUILD/dsms-storage/src/googletest/googletest/include/gtest/gtest.h:1554:64, inlined from 'virtual void Histogram_Position4_Test::TestBody()' at /builddir/build/BUILD/dsms-storage/src/test/common/histogram.cc:106:3: /builddir/build/BUILD/dsms-storage/src/googletest/googletest/include/gtest/gtest.h:1527:11: warning: 'lb' may be used uninitialized [-Wmaybe-uninitialized] 1527 | if (lhs == rhs) { | ~~~~^~~~~~ /builddir/build/BUILD/dsms-storage/src/test/common/histogram.cc: In member function 'virtual void Histogram_Position4_Test::TestBody()': /builddir/build/BUILD/dsms-storage/src/test/common/histogram.cc:104:12: note: 'lb' declared here 104 | uint64_t lb, ub; | ^~ In function 'testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const char*, const T1&, const T2&) [with T1 = unsigned int; T2 = long unsigned int]', inlined from 'static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, const T1&, const T2&) [with T1 = unsigned int; T2 = long unsigned int; typename std::enable_if<((! std::is_integral<_Tp>::value) || (! std::is_pointer<_T2>::value))>::type* = 0]' at /builddir/build/BUILD/dsms-storage/src/googletest/googletest/include/gtest/gtest.h:1554:64, inlined from 'virtual void Histogram_Position1_Test::TestBody()' at /builddir/build/BUILD/dsms-storage/src/test/common/histogram.cc:61:3: /builddir/build/BUILD/dsms-storage/src/googletest/googletest/include/gtest/gtest.h:1527:11: warning: 'lb' may be used uninitialized [-Wmaybe-uninitialized] 1527 | if (lhs == rhs) { | ~~~~^~~~~~ /builddir/build/BUILD/dsms-storage/src/test/common/histogram.cc: In member function 'virtual void Histogram_Position1_Test::TestBody()': /builddir/build/BUILD/dsms-storage/src/test/common/histogram.cc:59:12: note: 'lb' declared here 59 | uint64_t lb, ub; | ^~ In function 'testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const char*, const T1&, const T2&) [with T1 = unsigned int; T2 = long unsigned int]', inlined from 'static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, const T1&, const T2&) [with T1 = unsigned int; T2 = long unsigned int; typename std::enable_if<((! std::is_integral<_Tp>::value) || (! std::is_pointer<_T2>::value))>::type* = 0]' at /builddir/build/BUILD/dsms-storage/src/googletest/googletest/include/gtest/gtest.h:1554:64, inlined from 'virtual void Histogram_Position1_Test::TestBody()' at /builddir/build/BUILD/dsms-storage/src/test/common/histogram.cc:61:3: /builddir/build/BUILD/dsms-storage/src/googletest/googletest/include/gtest/gtest.h:1531:69: warning: 'lb' may be used uninitialized [-Wmaybe-uninitialized] 1531 | return CmpHelperEQFailure(lhs_expression, rhs_expression, lhs, rhs); | ^ /builddir/build/BUILD/dsms-storage/src/googletest/googletest/include/gtest/gtest.h: In member function 'virtual void Histogram_Position1_Test::TestBody()': /builddir/build/BUILD/dsms-storage/src/googletest/googletest/include/gtest/gtest.h:1504:17: note: by argument 4 of type 'const long unsigned int&' to 'testing::AssertionResult testing::internal::CmpHelperEQFailure(const char*, const char*, const T1&, const T2&) [with T1 = unsigned int; T2 = long unsigned int]' declared here 1504 | AssertionResult CmpHelperEQFailure(const char* lhs_expression, | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/test/common/histogram.cc:59:12: note: 'lb' declared here 59 | uint64_t lb, ub; | ^~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 55%] Building CXX object src/test/CMakeFiles/ceph_test_keys.dir/testkeys.cc.o [ 55%] Building CXX object src/test/CMakeFiles/ceph_test_admin_socket_output.dir/admin_socket_output_tests.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 function 'testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const char*, const T1&, const T2&) [with T1 = unsigned int; T2 = long unsigned int]', inlined from 'static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, const T1&, const T2&) [with T1 = unsigned int; T2 = long unsigned int; typename std::enable_if<((! std::is_integral<_Tp>::value) || (! std::is_pointer<_T2>::value))>::type* = 0]' at /builddir/build/BUILD/dsms-storage/src/googletest/googletest/include/gtest/gtest.h:1554:64, inlined from 'virtual void Histogram_Position2_Test::TestBody()' at /builddir/build/BUILD/dsms-storage/src/test/common/histogram.cc:77:3: /builddir/build/BUILD/dsms-storage/src/googletest/googletest/include/gtest/gtest.h:1527:11: warning: 'lb' may be used uninitialized [-Wmaybe-uninitialized] 1527 | if (lhs == rhs) { | ~~~~^~~~~~ /builddir/build/BUILD/dsms-storage/src/test/common/histogram.cc: In member function 'virtual void Histogram_Position2_Test::TestBody()': /builddir/build/BUILD/dsms-storage/src/test/common/histogram.cc:75:12: note: 'lb' declared here 75 | uint64_t lb, ub; | ^~ In function 'testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const char*, const T1&, const T2&) [with T1 = unsigned int; T2 = long unsigned int]', inlined from 'static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, const T1&, const T2&) [with T1 = unsigned int; T2 = long unsigned int; typename std::enable_if<((! std::is_integral<_Tp>::value) || (! std::is_pointer<_T2>::value))>::type* = 0]' at /builddir/build/BUILD/dsms-storage/src/googletest/googletest/include/gtest/gtest.h:1554:64, inlined from 'virtual void Histogram_Position2_Test::TestBody()' at /builddir/build/BUILD/dsms-storage/src/test/common/histogram.cc:77:3: /builddir/build/BUILD/dsms-storage/src/googletest/googletest/include/gtest/gtest.h:1531:69: warning: 'lb' may be used uninitialized [-Wmaybe-uninitialized] 1531 | return CmpHelperEQFailure(lhs_expression, rhs_expression, lhs, rhs); | ^ /builddir/build/BUILD/dsms-storage/src/googletest/googletest/include/gtest/gtest.h: In member function 'virtual void Histogram_Position2_Test::TestBody()': /builddir/build/BUILD/dsms-storage/src/googletest/googletest/include/gtest/gtest.h:1504:17: note: by argument 4 of type 'const long unsigned int&' to 'testing::AssertionResult testing::internal::CmpHelperEQFailure(const char*, const char*, const T1&, const T2&) [with T1 = unsigned int; T2 = long unsigned int]' declared here 1504 | AssertionResult CmpHelperEQFailure(const char* lhs_expression, | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/test/common/histogram.cc:75:12: note: 'lb' declared here 75 | uint64_t lb, ub; | ^~ [ 55%] Built target unittest_mutex_debug /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 56%] Building CXX object src/test/CMakeFiles/ceph_perf_local.dir/perf_helper.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 56%] Linking CXX executable ../../../bin/unittest_weighted_priority_queue [ 56%] Built target unittest_prioritized_queue /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 56%] Built target unittest_perf_histogram /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 56%] Building CXX object src/test/CMakeFiles/unittest_admin_socket.dir/admin_socket.cc.o [ 57%] Building CXX object src/test/CMakeFiles/unittest_auth.dir/test_auth.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Linking CXX executable ../../bin/unittest_subprocess /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 57%] Building CXX object src/test/CMakeFiles/unittest_workqueue.dir/test_workqueue.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 57%] Built target unittest_weighted_priority_queue /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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) { | ^ [ 58%] Building CXX object src/test/CMakeFiles/unittest_striper.dir/test_striper.cc.o /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 58%] Linking CXX executable ../../../bin/unittest_crc32c /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/bluefs_types.h:8, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/BlueFS.h:10, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/bluestore_tool.cc:19: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/test_transaction.cc:15: /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 58%] Built target unittest_subprocess [ 59%] Linking CXX executable ../../../bin/unittest_histogram [ 59%] Building CXX object src/test/CMakeFiles/unittest_str_list.dir/test_str_list.cc.o [ 59%] Building CXX object src/test/CMakeFiles/unittest_log.dir/__/log/test.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/AioCompletionImpl.h:20, from /builddir/build/BUILD/dsms-storage/src/librados/librados_c.cc:18: /builddir/build/BUILD/dsms-storage/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/src/common/config.h:18, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:32: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 59%] Built target unittest_crc32c In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/librados_cxx.cc:25: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/common/config.h:18, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/AioCompletionImpl.h:20, from /builddir/build/BUILD/dsms-storage/src/librados/librados_cxx.cc:29: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 59%] Building CXX object src/test/CMakeFiles/unittest_base64.dir/base64.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/librados/AioCompletionImpl.h:21: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /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/test/CMakeFiles/unittest_ceph_argparse.dir/ceph_argparse.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/librados/AioCompletionImpl.h:21: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 60%] Built target unittest_histogram In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/test/crush/crush.cc:21: /builddir/build/BUILD/dsms-storage/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/src/googletest/googletest/include/gtest/gtest.h:57, from /builddir/build/BUILD/dsms-storage/src/test/crush/crush.cc:11: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/cls/cas/cls_cas_ops.h:126:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 60%] Building CXX object src/test/CMakeFiles/unittest_ceph_compatset.dir/ceph_compatset.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/test/crush/CrushWrapper.cc:30: /builddir/build/BUILD/dsms-storage/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/src/test/crush/CrushWrapper.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 60%] Building CXX object src/test/CMakeFiles/unittest_gather.dir/gather.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 60%] Building CXX object src/test/CMakeFiles/unittest_run_cmd.dir/run_cmd.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 60%] Linking CXX executable ../../bin/unittest_pageset /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 60%] Linking CXX executable ../../bin/unittest_addrs [ 60%] Linking CXX executable ../../bin/unittest_encoding /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/src/cls/cas/cls_cas_ops.h:126:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 60%] Building CXX object src/test/CMakeFiles/unittest_signals.dir/signals.cc.o [ 60%] Linking CXX executable ../../../bin/unittest_lru [ 60%] Built target unittest_pageset [ 60%] Building CXX object src/test/CMakeFiles/unittest_simple_spin.dir/simple_spin.cc.o [ 60%] Built target unittest_addrs In file included from /builddir/build/BUILD/dsms-storage/src/client/Client.h:28, from /builddir/build/BUILD/dsms-storage/src/libcephfs.cc:21: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/client/Client.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 60%] Built target unittest_encoding [ 60%] Building CXX object src/test/CMakeFiles/unittest_bufferlist.dir/bufferlist.cc.o /builddir/build/BUILD/dsms-storage/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/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/src/osd/ECBackend.cc:1909:28: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ [ 60%] Building CXX object src/test/CMakeFiles/compiletest_cxx11_client.dir/cxx11_client.cc.o [ 60%] Built target unittest_lru [ 60%] Building CXX object src/test/CMakeFiles/unittest_arch.dir/test_arch.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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%] Linking CXX executable ../../../bin/unittest_bloom_filter [ 60%] Linking CXX executable ../../bin/test_crypto [ 60%] Building CXX object src/test/CMakeFiles/unittest_denc.dir/test_denc.cc.o [ 60%] Linking CXX static library ../../../lib/libradostest-cxx.a In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/filestore/DBObjectMap.h:15, from /builddir/build/BUILD/dsms-storage/src/tools/ceph_osdomap_tool.cc:22: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 60%] Linking CXX executable ../../../bin/unittest_time [ 60%] Linking CXX executable ../../../bin/unittest_shunique_lock [ 60%] Built target test_crypto [ 60%] Built target unittest_bloom_filter [ 60%] Building CXX object src/test/CMakeFiles/unittest_mempool.dir/test_mempool.cc.o [ 60%] Built target radostest-cxx [ 60%] Building CXX object src/test/CMakeFiles/unittest_features.dir/test_features.cc.o [ 60%] Building CXX object src/test/CMakeFiles/unittest_crypto.dir/crypto.cc.o [ 60%] Linking CXX executable ../../../bin/unittest_bit_vector [ 60%] Linking CXX executable ../../bin/compiletest_cxx11_client In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage/src/tools/ceph_authtool.cc:16: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/tools/crushtool.cc:35: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/BlueStore.h:48, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/bluestore_tool.cc:20: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 60%] Built target unittest_time /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ [ 60%] Linking CXX executable ../../bin/unittest_utime [ 60%] Linking CXX static library ../../../lib/libradostest.a /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 60%] Built target unittest_shunique_lock [ 60%] Building CXX object src/test/CMakeFiles/unittest_crypto_init.dir/crypto_init.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Linking CXX executable ../../../bin/unittest_lockdep [ 60%] Building CXX object src/test/CMakeFiles/unittest_perf_counters.dir/perf_counters.cc.o [ 60%] Built target compiletest_cxx11_client [ 60%] Built target radostest In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage/src/test/crush/crush.cc:16: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 60%] Building CXX object src/test/CMakeFiles/unittest_utf8.dir/utf8.cc.o [ 60%] Linking CXX executable ../../../bin/unittest_interval_map [ 60%] Building CXX object src/test/CMakeFiles/unittest_ceph_crypto.dir/ceph_crypto.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Built target unittest_bit_vector [ 60%] Building CXX object src/test/CMakeFiles/unittest_heartbeatmap.dir/heartbeat_map.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 60%] Built target unittest_utime /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 60%] Building CXX object src/test/CMakeFiles/unittest_formatter.dir/formatter.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage/src/test/crush/CrushWrapper.cc:26: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 60%] Built target unittest_lockdep /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/tools/osdmaptool.cc:26: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/test/CMakeFiles/unittest_daemon_config.dir/daemon_config.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 60%] Built target unittest_interval_map /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 60%] Building CXX object src/test/CMakeFiles/unittest_ipaddr.dir/test_ipaddr.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/test/objectstore_bench.cc:11: /builddir/build/BUILD/dsms-storage/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/src/test/objectstore_bench.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 60%] Linking CXX executable ../../bin/unittest_arch /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/BlueStore.h:48, from /builddir/build/BUILD/dsms-storage/src/tools/kvstore_tool.h:13, from /builddir/build/BUILD/dsms-storage/src/tools/kvstore_tool.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/Paxos.h:121, from /builddir/build/BUILD/dsms-storage/src/mon/PaxosService.h:19, from /builddir/build/BUILD/dsms-storage/src/mon/AuthMonitor.h:24, from /builddir/build/BUILD/dsms-storage/src/tools/ceph_conf.cc:20: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/tools/psim.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/test/CMakeFiles/unittest_random_string.dir/test_random_string.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/BlueStore.h:48, from /builddir/build/BUILD/dsms-storage/src/tools/kvstore_tool.h:13, from /builddir/build/BUILD/dsms-storage/src/tools/ceph_kvstore_tool.cc:27: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 60%] Built target unittest_arch [ 60%] Building CXX object src/test/common/CMakeFiles/get_command_descriptions.dir/get_command_descriptions.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileStore.h:33, from /builddir/build/BUILD/dsms-storage/src/test/test_trans.cc:18: /builddir/build/BUILD/dsms-storage/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/src/test/test_trans.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage/src/tools/monmaptool.cc:16: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Linking CXX executable ../../../bin/unittest_readahead /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/test/ceph_compatset.cc:24: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/mempool.h:31, from /builddir/build/BUILD/dsms-storage/src/osd/PG.h:27: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 60%] Linking CXX executable ../../../bin/unittest_mclock_priority_queue In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/TestSignalHandlers.cc: In function 'void infinite_recursion_test_impl()': /builddir/build/BUILD/dsms-storage/src/test/TestSignalHandlers.cc:54:13: warning: infinite recursion detected [-Winfinite-recursion] 54 | static void infinite_recursion_test_impl() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/test/TestSignalHandlers.cc:56:31: note: recursive call 56 | infinite_recursion_test_impl(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 60%] Built target unittest_readahead [ 60%] Building CXX object src/test/common/CMakeFiles/unittest_blkdev.dir/test_blkdev.cc.o [ 60%] Linking CXX executable ../../bin/unittest_str_list /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/kv/KeyValueDB.h:12, from /builddir/build/BUILD/dsms-storage/src/os/ObjectMap.h:21, from /builddir/build/BUILD/dsms-storage/src/os/filestore/DBObjectMap.h:13: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/mempool.h:31, from /builddir/build/BUILD/dsms-storage/src/osd/PG.h:27: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ [ 60%] Building CXX object src/test/common/CMakeFiles/unittest_json_formattable.dir/test_json_formattable.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Built target unittest_mclock_priority_queue [ 60%] Building CXX object src/test/common/CMakeFiles/unittest_json_formatter.dir/test_json_formatter.cc.o [ 60%] Linking CXX executable ../../bin/unittest_utf8 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 60%] Built target unittest_str_list In file included from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/Paxos.h:121, from /builddir/build/BUILD/dsms-storage/src/mon/PaxosService.h:19, from /builddir/build/BUILD/dsms-storage/src/mon/AuthMonitor.h:24, from /builddir/build/BUILD/dsms-storage/src/tools/ceph_monstore_tool.cc:28: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/os/filestore/Journal.h:26, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileJournal.h:25, from /builddir/build/BUILD/dsms-storage/src/test/test_filejournal.cc:11: /builddir/build/BUILD/dsms-storage/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/src/googletest/googletest/include/gtest/gtest.h:57, from /builddir/build/BUILD/dsms-storage/src/test/test_filejournal.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /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/test/common/CMakeFiles/unittest_sharedptr_registry.dir/test_sharedptr_registry.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage/src/auth/KeyRing.h:18, from /builddir/build/BUILD/dsms-storage/src/auth/cephx/CephxKeyServer.h:18, from /builddir/build/BUILD/dsms-storage/src/test/testkeys.cc:1: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/test/test_auth.cc:4: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 60%] Built target unittest_utf8 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 60%] Linking CXX executable ../../bin/ceph_test_timers In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 60%] Linking CXX executable ../../bin/ceph_test_signal_handlers [ 60%] Building CXX object src/test/common/CMakeFiles/unittest_shared_cache.dir/test_shared_cache.cc.o [ 60%] Linking CXX executable ../../bin/ceph-authtool In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/cls/cas/cls_cas_ops.h:126:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/osdc/ObjectCacher.h:17, from /builddir/build/BUILD/dsms-storage/src/client/Client.h:37: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 60%] Linking CXX executable ../../../bin/unittest_context /builddir/build/BUILD/dsms-storage/src/tools/osdmaptool.cc: In function 'int main(int, const char**)': /builddir/build/BUILD/dsms-storage/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); | ^ [ 60%] Built target ceph_test_timers [ 60%] Built target ceph_test_signal_handlers In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/test/test_striper.cc:4: /builddir/build/BUILD/dsms-storage/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/src/googletest/googletest/include/gtest/gtest.h:57, from /builddir/build/BUILD/dsms-storage/src/test/test_striper.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 60%] Built target ceph-authtool [ 60%] Building CXX object src/test/common/CMakeFiles/unittest_sloppy_crc_map.dir/test_sloppy_crc_map.cc.o [ 60%] Building CXX object src/test/common/CMakeFiles/unittest_util.dir/test_util.cc.o [ 60%] Linking CXX executable ../../bin/unittest_base64 [ 60%] Building CXX object src/test/common/CMakeFiles/unittest_throttle.dir/Throttle.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/global/global_init.h:22, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/bluestore_tool.cc:13: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ [ 60%] Linking CXX executable ../../bin/unittest_confutils [ 60%] Linking CXX executable ../../bin/unittest_simple_spin In file included from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:18: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ [ 60%] Linking CXX executable ../../bin/ceph_bench_log [ 60%] Built target unittest_context In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage/src/tools/crushtool.cc:26: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 60%] Building CXX object src/test/common/CMakeFiles/unittest_dns_resolve.dir/dns_resolve.cc.o [ 60%] Linking CXX executable ../../bin/unittest_strtol /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/test/crypto.cc:10: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 60%] Linking CXX executable ../../bin/unittest_run_cmd [ 60%] Built target unittest_base64 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/test/common/CMakeFiles/unittest_bounded_key_counter.dir/test_bounded_key_counter.cc.o [ 60%] Built target unittest_simple_spin /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 60%] Built target unittest_confutils In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:32: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/test/crypto_init.cc:14: /builddir/build/BUILD/dsms-storage/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/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()) { | ~~~~~~~~~~~~^~ [ 60%] Building CXX object src/test/common/CMakeFiles/unittest_hobject.dir/test_hobject.cc.o In file included from /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/ceph_crypto.cc:3: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 60%] Built target ceph_bench_log In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 60%] Building CXX object src/test/common/CMakeFiles/unittest_rabin_chunk.dir/test_rabin_chunk.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/test/compressor/CMakeFiles/unittest_compression.dir/test_compression.cc.o [ 60%] Built target unittest_strtol /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/test/erasure-code/CMakeFiles/ceph_erasure_code_benchmark.dir/__/__/erasure-code/ErasureCode.cc.o [ 60%] Built target unittest_run_cmd In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage/src/tools/osdmaptool.cc:18: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/btree_map.h:10, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:34: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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%] Linking CXX executable ../../../bin/unittest_config In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage/src/test/test_denc.cc:21: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, foo_t>; C = std::map; Details = _denc::maplike_details, foo_t, std::less >, std::allocator, foo_t> > > >; Ts = {std::__cxx11::basic_string, std::allocator >, foo_t, std::less, std::allocator > >, std::allocator, std::allocator >, foo_t> >}; container = std::map, foo_t, std::less >, std::allocator, foo_t> > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, foo_t, std::less >, std::allocator, foo_t> > >; traits = denc_traits, foo_t, std::less >, std::allocator, foo_t> > >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/test/test_denc.cc:43:7: required from 'void test_denc(T) [with T = std::map, foo_t, std::less >, std::allocator, foo_t> > >]' /builddir/build/BUILD/dsms-storage/src/test/test_denc.cc:425:14: required from 'void test_common_maplike(const char*) [with C = default_map]' /builddir/build/BUILD/dsms-storage/src/test/test_denc.cc:449:35: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, foo_t, std::less >, std::allocator, foo_t> > > >, std::__cxx11::basic_string, std::allocator >, foo_t, std::less, std::allocator > >, std::allocator, std::allocator >, foo_t> > >::T&' {aka 'const std::pair, foo_t>&'} binds to a temporary constructed from type 'const std::pair, foo_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, foo_t, std::less >, std::allocator, foo_t> > > >, std::__cxx11::basic_string, std::allocator >, foo_t, std::less, std::allocator > >, std::allocator, std::allocator >, foo_t> > >::T' {aka 'const std::pair, foo_t>'} to make the copy explicit or 'const std::pair, foo_t>&' to prevent copying [ 61%] Building CXX object src/test/erasure-code/CMakeFiles/ceph_erasure_code_non_regression.dir/ceph_erasure_code_non_regression.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, bar_t>; C = std::map; Details = _denc::maplike_details, bar_t, std::less >, std::allocator, bar_t> > > >; Ts = {std::__cxx11::basic_string, std::allocator >, bar_t, std::less, std::allocator > >, std::allocator, std::allocator >, bar_t> >}; container = std::map, bar_t, std::less >, std::allocator, bar_t> > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:652:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, bar_t, std::less >, std::allocator, bar_t> > >; traits = denc_traits, bar_t, std::less >, std::allocator, bar_t> > >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/test/test_denc.cc:80:7: required from 'void test_denc_featured(T) [with T = std::map, bar_t, std::less >, std::allocator, bar_t> > >]' /builddir/build/BUILD/dsms-storage/src/test/test_denc.cc:433:23: required from 'void test_common_maplike(const char*) [with C = default_map]' /builddir/build/BUILD/dsms-storage/src/test/test_denc.cc:449:35: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, bar_t, std::less >, std::allocator, bar_t> > > >, std::__cxx11::basic_string, std::allocator >, bar_t, std::less, std::allocator > >, std::allocator, std::allocator >, bar_t> > >::T&' {aka 'const std::pair, bar_t>&'} binds to a temporary constructed from type 'const std::pair, bar_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, bar_t, std::less >, std::allocator, bar_t> > > >, std::__cxx11::basic_string, std::allocator >, bar_t, std::less, std::allocator > >, std::allocator, std::allocator >, bar_t> > >::T' {aka 'const std::pair, bar_t>'} to make the copy explicit or 'const std::pair, bar_t>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 61%] Linking CXX executable ../../../bin/unittest_back_trace /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Linking CXX executable ../../bin/unittest_crypto_init /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/test/erasure-code/CMakeFiles/ceph_erasure_code_benchmark.dir/ceph_erasure_code_benchmark.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, foo_t, std::less >, std::allocator, foo_t> > > >; Ts = {std::__cxx11::basic_string, std::allocator >, foo_t, std::less, std::allocator > >, std::allocator, std::allocator >, foo_t> >}; container = std::map, foo_t, std::less >, std::allocator, foo_t> > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, foo_t>; C = std::map; Details = _denc::maplike_details, foo_t, std::less >, std::allocator, foo_t> > > >; Ts = {std::__cxx11::basic_string, std::allocator >, foo_t, std::less, std::allocator > >, std::allocator, std::allocator >, foo_t> >}; container = std::map, foo_t, std::less >, std::allocator, foo_t> > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, foo_t, std::less >, std::allocator, foo_t> > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, foo_t, std::less >, std::allocator, foo_t> > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/test/test_denc.cc:50:9: required from 'void test_denc(T) [with T = std::map, foo_t, std::less >, std::allocator, foo_t> > >]' /builddir/build/BUILD/dsms-storage/src/test/test_denc.cc:425:14: required from 'void test_common_maplike(const char*) [with C = default_map]' /builddir/build/BUILD/dsms-storage/src/test/test_denc.cc:449:35: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, foo_t, std::less >, std::allocator, foo_t> > > >, std::__cxx11::basic_string, std::allocator >, foo_t, std::less, std::allocator > >, std::allocator, std::allocator >, foo_t> > >::T&' {aka 'const std::pair, foo_t>&'} binds to a temporary constructed from type 'const std::pair, foo_t>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, foo_t, std::less >, std::allocator, foo_t> > > >, std::__cxx11::basic_string, std::allocator >, foo_t, std::less, std::allocator > >, std::allocator, std::allocator >, foo_t> > >::T' {aka 'const std::pair, foo_t>'} to make the copy explicit or 'const std::pair, foo_t>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, bar_t, std::less >, std::allocator, bar_t> > > >; Ts = {std::__cxx11::basic_string, std::allocator >, bar_t, std::less, std::allocator > >, std::allocator, std::allocator >, bar_t> >}; container = std::map, bar_t, std::less >, std::allocator, bar_t> > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:979:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, bar_t>; C = std::map; Details = _denc::maplike_details, bar_t, std::less >, std::allocator, bar_t> > > >; Ts = {std::__cxx11::basic_string, std::allocator >, bar_t, std::less, std::allocator > >, std::allocator, std::allocator >, bar_t> >}; container = std::map, bar_t, std::less >, std::allocator, bar_t> > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:665:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, bar_t, std::less >, std::allocator, bar_t> > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, bar_t, std::less >, std::allocator, bar_t> > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/test/test_denc.cc:87:9: required from 'void test_denc_featured(T) [with T = std::map, bar_t, std::less >, std::allocator, bar_t> > >]' /builddir/build/BUILD/dsms-storage/src/test/test_denc.cc:433:23: required from 'void test_common_maplike(const char*) [with C = default_map]' /builddir/build/BUILD/dsms-storage/src/test/test_denc.cc:449:35: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, bar_t, std::less >, std::allocator, bar_t> > > >, std::__cxx11::basic_string, std::allocator >, bar_t, std::less, std::allocator > >, std::allocator, std::allocator >, bar_t> > >::T&' {aka 'const std::pair, bar_t>&'} binds to a temporary constructed from type 'const std::pair, bar_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, bar_t, std::less >, std::allocator, bar_t> > > >, std::__cxx11::basic_string, std::allocator >, bar_t, std::less, std::allocator > >, std::allocator, std::allocator >, bar_t> > >::T' {aka 'const std::pair, bar_t>'} to make the copy explicit or 'const std::pair, bar_t>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Linking CXX executable ../../bin/ceph_perf_local In file included from /builddir/build/BUILD/dsms-storage/src/os/filestore/LFNIndex.h:27, from /builddir/build/BUILD/dsms-storage/src/os/filestore/HashIndex.h:20, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileStore.h:42: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:32: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Built target unittest_config [ 61%] Built target unittest_crypto_init In file included from /builddir/build/BUILD/dsms-storage/src/os/bluestore/BlueStore.h:37: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ [ 61%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code_plugin.dir/__/__/erasure-code/ErasureCode.cc.o [ 61%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code.dir/__/__/erasure-code/ErasureCode.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/bluestore_tool.cc:14: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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%] Linking CXX executable ../../bin/ceph_test_keys /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 61%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code.dir/TestErasureCode.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 unittest_back_trace /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 61%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code_plugin_jerasure.dir/TestErasureCodePluginJerasure.cc.o [ 61%] Built target ceph_perf_local /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/test/erasure-code/CMakeFiles/unittest_erasure_code_isa.dir/__/__/erasure-code/ErasureCode.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage/src/tools/ceph_kvstore_tool.cc:18: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ [ 61%] Linking CXX executable ../../bin/unittest_features /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/BlueStore.h:39: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 ceph_test_keys /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 61%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code_plugin.dir/TestErasureCodePlugin.cc.o /builddir/build/BUILD/dsms-storage/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/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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage/src/test/test_trans.cc:16: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Linking CXX executable ../../../bin/unittest_async_shared_mutex [ 61%] Built target unittest_features [ 61%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code_plugin_isa.dir/__/__/erasure-code/ErasureCode.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 61%] Linking CXX executable ../../bin/unittest_formatter [ 61%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code_lrc.dir/TestErasureCodeLrc.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Linking CXX executable ../../bin/unittest_workqueue /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:19: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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%] Linking CXX executable ../../bin/monmaptool [ 61%] Built target unittest_async_shared_mutex [ 61%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code_plugin_lrc.dir/TestErasureCodePluginLrc.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage/src/test/test_filejournal.cc:6: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Built target unittest_formatter [ 61%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code_plugin_shec.dir/TestErasureCodePluginShec.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 61%] Built target unittest_workqueue /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 61%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code_example.dir/__/__/erasure-code/ErasureCode.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 61%] Built target monmaptool In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/test/erasure-code/CMakeFiles/unittest_erasure_code_jerasure.dir/TestErasureCodeJerasure.cc.o /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/os/bluestore/BlueStore.h:3536:39: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Linking CXX executable ../../../bin/unittest_sloppy_crc_map /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/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/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/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Linking CXX executable ../../bin/unittest_ceph_crypto /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 61%] Built target unittest_sloppy_crc_map /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 61%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code_plugin_isa.dir/TestErasureCodePluginIsa.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 61%] Linking CXX executable ../../bin/unittest_ceph_compatset /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Linking CXX executable ../../bin/unittest_gather [ 61%] Linking CXX executable ../../../bin/ceph-erasure-code-tool [ 61%] Linking CXX executable ../../bin/unittest_heartbeatmap [ 61%] Built target unittest_ceph_crypto /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/cls/cas/cls_cas_ops.h:126:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 61%] Linking CXX executable ../../bin/unittest_ceph_argparse [ 61%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code_example.dir/TestErasureCodeExample.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 61%] Linking CXX executable ../../bin/unittest_signals /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 61%] Built target unittest_ceph_compatset /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 61%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code_shec.dir/TestErasureCodeShec.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 61%] Linking CXX executable ../../bin/unittest_auth /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 61%] Built target ceph-erasure-code-tool [ 61%] Built target unittest_ceph_argparse /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage/src/tools/ceph_conf.cc:18: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 61%] Built target unittest_heartbeatmap [ 61%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code_shec_all.dir/TestErasureCodeShec_all.cc.o [ 61%] Built target unittest_gather [ 61%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code_shec_arguments.dir/TestErasureCodeShec_arguments.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/test/erasure-code/CMakeFiles/unittest_erasure_code_clay.dir/TestErasureCodeClay.cc.o [ 61%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code_shec_thread.dir/TestErasureCodeShec_thread.cc.o /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/os/bluestore/BlueStore.h:3536:39: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/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/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/src/osd/PrimaryLogPG.cc:8070:19: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/os/bluestore/BlueStore.h:3536:39: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 unittest_signals /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/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/src/include/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/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/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/Elector.h:23, from /builddir/build/BUILD/dsms-storage/src/mon/Monitor.h:38, from /builddir/build/BUILD/dsms-storage/src/test/common/get_command_descriptions.cc:24: /builddir/build/BUILD/dsms-storage/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 /builddir/build/BUILD/dsms-storage/src/mon/Monitor.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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/src/osd/PrimaryLogPG.cc:15301:25: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ [ 61%] Built target unittest_auth /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 61%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code_plugin_clay.dir/TestErasureCodePluginClay.cc.o [ 61%] Building CXX object src/test/filestore/CMakeFiles/ceph_test_filestore.dir/TestFileStore.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/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/src/include/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/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/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/src/cls/cas/cls_cas_ops.h:126:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 61%] Linking CXX executable ../../../bin/unittest_hobject /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of '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/src/include/denc.h:1554:23: required from '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/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage/src/libcephfs.cc:20: /builddir/build/BUILD/dsms-storage/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/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MPGStats.h:56:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/src/messages/MMonGetPurgedSnapsReply.h:35:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 61%] Linking CXX executable ../../../bin/unittest_json_formatter /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Linking CXX executable ../../../bin/unittest_rabin_chunk In file included from /builddir/build/BUILD/dsms-storage/src/include/btree_map.h:7, from /builddir/build/BUILD/dsms-storage/src/test/test_mempool.cc:23: In member function 'btree::internal::btree_node*& btree::internal::btree_node::mutable_child(int) [with Params = btree::internal::map_params, mempool::pool_allocator >, 256, false>]', inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params, mempool::pool_allocator >, 256, false>]' at /builddir/build/BUILD/dsms-storage/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::piecewise_construct_t&, std::tuple, std::tuple<>}; Params = btree::internal::map_params, mempool::pool_allocator >, 256, false>]' at /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree.h:2418:22, inlined from 'std::pair, typename Params::reference, typename Params::pointer>, bool> btree::internal::btree::insert_unique(const key_type&, Args&& ...) [with Args = {const std::piecewise_construct_t&, std::tuple, std::tuple<>}; Params = btree::internal::map_params, mempool::pool_allocator >, 256, false>]' at /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree.h:1851:27, inlined from 'std::pair btree::internal::btree_map_container::try_emplace(key_type&&, Args&& ...) [with Args = {}; Tree = btree::internal::btree, mempool::pool_allocator >, 256, false> >]' at /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree_container.h:353:37, inlined from 'btree::internal::btree_map_container::mapped_type& btree::internal::btree_map_container::operator[](key_type&&) [with Tree = btree::internal::btree, mempool::pool_allocator >, 256, false> >]' at /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree_container.h:383:23, inlined from 'virtual void mempool_btree_map_test_Test::TestBody()' at /builddir/build/BUILD/dsms-storage/src/test/test_mempool.cc:396:19: /builddir/build/BUILD/dsms-storage/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 file included from /builddir/build/BUILD/dsms-storage/src/test/test_mempool.cc:24: In member function 'T* mempool::pool_allocator::allocate(size_t, void*) [with mempool::pool_index_t pool_ix = mempool::mempool_osd; 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/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, mempool::pool_allocator >, 256, false>]' at /builddir/build/BUILD/dsms-storage/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, mempool::pool_allocator >, 256, false>]' at /builddir/build/BUILD/dsms-storage/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::piecewise_construct_t&, std::tuple, std::tuple<>}; Params = btree::internal::map_params, mempool::pool_allocator >, 256, false>]' at /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree.h:2417:29, inlined from 'std::pair, typename Params::reference, typename Params::pointer>, bool> btree::internal::btree::insert_unique(const key_type&, Args&& ...) [with Args = {const std::piecewise_construct_t&, std::tuple, std::tuple<>}; Params = btree::internal::map_params, mempool::pool_allocator >, 256, false>]' at /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree.h:1851:27, inlined from 'std::pair btree::internal::btree_map_container::try_emplace(key_type&&, Args&& ...) [with Args = {}; Tree = btree::internal::btree, mempool::pool_allocator >, 256, false> >]' at /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree_container.h:353:37, inlined from 'btree::internal::btree_map_container::mapped_type& btree::internal::btree_map_container::operator[](key_type&&) [with Tree = btree::internal::btree, mempool::pool_allocator >, 256, false> >]' at /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree_container.h:383:23, inlined from 'virtual void mempool_btree_map_test_Test::TestBody()' at /builddir/build/BUILD/dsms-storage/src/test/test_mempool.cc:396:19: /builddir/build/BUILD/dsms-storage/src/include/mempool.h:338:33: note: at offset 256 into object of size [48, 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::map_params, mempool::pool_allocator >, 256, false>]', inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params, mempool::pool_allocator >, 256, false>]' at /builddir/build/BUILD/dsms-storage/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::piecewise_construct_t&, std::tuple, std::tuple<>}; Params = btree::internal::map_params, mempool::pool_allocator >, 256, false>]' at /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree.h:2418:22, inlined from 'std::pair, typename Params::reference, typename Params::pointer>, bool> btree::internal::btree::insert_unique(const key_type&, Args&& ...) [with Args = {const std::piecewise_construct_t&, std::tuple, std::tuple<>}; Params = btree::internal::map_params, mempool::pool_allocator >, 256, false>]' at /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree.h:1851:27, inlined from 'std::pair btree::internal::btree_map_container::try_emplace(key_type&&, Args&& ...) [with Args = {}; Tree = btree::internal::btree, mempool::pool_allocator >, 256, false> >]' at /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree_container.h:353:37, inlined from 'btree::internal::btree_map_container::mapped_type& btree::internal::btree_map_container::operator[](key_type&&) [with Tree = btree::internal::btree, mempool::pool_allocator >, 256, false> >]' at /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree_container.h:383:23, inlined from 'virtual void mempool_btree_map_test_Test::TestBody()' at /builddir/build/BUILD/dsms-storage/src/test/test_mempool.cc:396:19: /builddir/build/BUILD/dsms-storage/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_osd; 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/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, mempool::pool_allocator >, 256, false>]' at /builddir/build/BUILD/dsms-storage/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, mempool::pool_allocator >, 256, false>]' at /builddir/build/BUILD/dsms-storage/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::piecewise_construct_t&, std::tuple, std::tuple<>}; Params = btree::internal::map_params, mempool::pool_allocator >, 256, false>]' at /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree.h:2417:29, inlined from 'std::pair, typename Params::reference, typename Params::pointer>, bool> btree::internal::btree::insert_unique(const key_type&, Args&& ...) [with Args = {const std::piecewise_construct_t&, std::tuple, std::tuple<>}; Params = btree::internal::map_params, mempool::pool_allocator >, 256, false>]' at /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree.h:1851:27, inlined from 'std::pair btree::internal::btree_map_container::try_emplace(key_type&&, Args&& ...) [with Args = {}; Tree = btree::internal::btree, mempool::pool_allocator >, 256, false> >]' at /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree_container.h:353:37, inlined from 'btree::internal::btree_map_container::mapped_type& btree::internal::btree_map_container::operator[](key_type&&) [with Tree = btree::internal::btree, mempool::pool_allocator >, 256, false> >]' at /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree_container.h:383:23, inlined from 'virtual void mempool_btree_map_test_Test::TestBody()' at /builddir/build/BUILD/dsms-storage/src/test/test_mempool.cc:396:19: /builddir/build/BUILD/dsms-storage/src/include/mempool.h:338:33: note: at offset 256 into object of size [48, 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::map_params, mempool::pool_allocator >, 256, false>]', inlined from 'void btree::internal::btree_node::init_child(int, btree::internal::btree_node*) [with Params = btree::internal::map_params, mempool::pool_allocator >, 256, false>]' at /builddir/build/BUILD/dsms-storage/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, mempool::pool_allocator >, 256, false>]' at /builddir/build/BUILD/dsms-storage/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::piecewise_construct_t&, std::tuple, std::tuple<>}; Params = btree::internal::map_params, mempool::pool_allocator >, 256, false>]' at /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree.h:2418:22, inlined from 'std::pair, typename Params::reference, typename Params::pointer>, bool> btree::internal::btree::insert_unique(const key_type&, Args&& ...) [with Args = {const std::piecewise_construct_t&, std::tuple, std::tuple<>}; Params = btree::internal::map_params, mempool::pool_allocator >, 256, false>]' at /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree.h:1851:27, inlined from 'std::pair btree::internal::btree_map_container::try_emplace(key_type&&, Args&& ...) [with Args = {}; Tree = btree::internal::btree, mempool::pool_allocator >, 256, false> >]' at /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree_container.h:353:37, inlined from 'btree::internal::btree_map_container::mapped_type& btree::internal::btree_map_container::operator[](key_type&&) [with Tree = btree::internal::btree, mempool::pool_allocator >, 256, false> >]' at /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree_container.h:383:23, inlined from 'virtual void mempool_btree_map_test_Test::TestBody()' at /builddir/build/BUILD/dsms-storage/src/test/test_mempool.cc:396:19: /builddir/build/BUILD/dsms-storage/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_osd; 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/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, mempool::pool_allocator >, 256, false>]' at /builddir/build/BUILD/dsms-storage/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, mempool::pool_allocator >, 256, false>]' at /builddir/build/BUILD/dsms-storage/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::piecewise_construct_t&, std::tuple, std::tuple<>}; Params = btree::internal::map_params, mempool::pool_allocator >, 256, false>]' at /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree.h:2417:29, inlined from 'std::pair, typename Params::reference, typename Params::pointer>, bool> btree::internal::btree::insert_unique(const key_type&, Args&& ...) [with Args = {const std::piecewise_construct_t&, std::tuple, std::tuple<>}; Params = btree::internal::map_params, mempool::pool_allocator >, 256, false>]' at /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree.h:1851:27, inlined from 'std::pair btree::internal::btree_map_container::try_emplace(key_type&&, Args&& ...) [with Args = {}; Tree = btree::internal::btree, mempool::pool_allocator >, 256, false> >]' at /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree_container.h:353:37, inlined from 'btree::internal::btree_map_container::mapped_type& btree::internal::btree_map_container::operator[](key_type&&) [with Tree = btree::internal::btree, mempool::pool_allocator >, 256, false> >]' at /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree_container.h:383:23, inlined from 'virtual void mempool_btree_map_test_Test::TestBody()' at /builddir/build/BUILD/dsms-storage/src/test/test_mempool.cc:396:19: /builddir/build/BUILD/dsms-storage/src/include/mempool.h:338:33: note: at offset 256 into object of size [48, 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::map_params, mempool::pool_allocator >, 256, false>]', inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params, mempool::pool_allocator >, 256, false>]' at /builddir/build/BUILD/dsms-storage/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::piecewise_construct_t&, std::tuple, std::tuple<>}; Params = btree::internal::map_params, mempool::pool_allocator >, 256, false>]' at /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree.h:2418:22, inlined from 'std::pair, typename Params::reference, typename Params::pointer>, bool> btree::internal::btree::insert_unique(const key_type&, Args&& ...) [with Args = {const std::piecewise_construct_t&, std::tuple, std::tuple<>}; Params = btree::internal::map_params, mempool::pool_allocator >, 256, false>]' at /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree.h:1851:27, inlined from 'std::pair btree::internal::btree_map_container::try_emplace(key_type&&, Args&& ...) [with Args = {}; Tree = btree::internal::btree, mempool::pool_allocator >, 256, false> >]' at /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree_container.h:353:37, inlined from 'btree::internal::btree_map_container::mapped_type& btree::internal::btree_map_container::operator[](key_type&&) [with Tree = btree::internal::btree, mempool::pool_allocator >, 256, false> >]' at /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree_container.h:383:23, inlined from 'virtual void mempool_btree_map_test_Test::TestBody()' at /builddir/build/BUILD/dsms-storage/src/test/test_mempool.cc:396:19: /builddir/build/BUILD/dsms-storage/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_osd; 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/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, mempool::pool_allocator >, 256, false>]' at /builddir/build/BUILD/dsms-storage/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, mempool::pool_allocator >, 256, false>]' at /builddir/build/BUILD/dsms-storage/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::piecewise_construct_t&, std::tuple, std::tuple<>}; Params = btree::internal::map_params, mempool::pool_allocator >, 256, false>]' at /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree.h:2417:29, inlined from 'std::pair, typename Params::reference, typename Params::pointer>, bool> btree::internal::btree::insert_unique(const key_type&, Args&& ...) [with Args = {const std::piecewise_construct_t&, std::tuple, std::tuple<>}; Params = btree::internal::map_params, mempool::pool_allocator >, 256, false>]' at /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree.h:1851:27, inlined from 'std::pair btree::internal::btree_map_container::try_emplace(key_type&&, Args&& ...) [with Args = {}; Tree = btree::internal::btree, mempool::pool_allocator >, 256, false> >]' at /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree_container.h:353:37, inlined from 'btree::internal::btree_map_container::mapped_type& btree::internal::btree_map_container::operator[](key_type&&) [with Tree = btree::internal::btree, mempool::pool_allocator >, 256, false> >]' at /builddir/build/BUILD/dsms-storage/src/include/cpp-btree/btree_container.h:383:23, inlined from 'virtual void mempool_btree_map_test_Test::TestBody()' at /builddir/build/BUILD/dsms-storage/src/test/test_mempool.cc:396:19: /builddir/build/BUILD/dsms-storage/src/include/mempool.h:338:33: note: at offset 256 into object of size [48, 256] allocated by 'operator new []' 338 | T* r = reinterpret_cast(new char[total]); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/test/common/Throttle.cc: In function 'std::pair > test_backoff(double, double, double, double, double, uint64_t, double, unsigned int, unsigned int)': /builddir/build/BUILD/dsms-storage/src/test/common/Throttle.cc:222:19: note: parameter passing for argument of type 'std::pair >' when C++17 is enabled changed to match C++14 in GCC 10.1 222 | unsigned putters) | ^ [ 61%] Linking CXX executable ../../bin/unittest_random_string /builddir/build/BUILD/dsms-storage/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Built target unittest_hobject /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 61%] Building CXX object src/test/fs/CMakeFiles/unittest_mds_types.dir/mds_types.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Built target unittest_json_formatter /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/test/erasure-code/CMakeFiles/unittest_erasure_code_isa.dir/TestErasureCodeIsa.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 61%] Linking CXX executable ../../../bin/unittest_crush [ 61%] Built target unittest_rabin_chunk /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Linking CXX executable ../../bin/ceph-osdomap-tool [ 61%] Building CXX object src/test/libradosstriper/CMakeFiles/rados_striper_test.dir/TestCase.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 61%] Built target unittest_random_string /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 61%] Linking CXX executable ../../bin/unittest_admin_socket [ 61%] Building CXX object src/test/mds/CMakeFiles/unittest_mds_authcap.dir/TestMDSAuthCaps.cc.o [ 61%] Linking CXX executable ../../../bin/unittest_transaction /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/cls/cas/cls_cas_ops.h:126:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 62%] Linking CXX executable ../../bin/unittest_perf_counters /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/test/compressor/test_compression.cc:26: /builddir/build/BUILD/dsms-storage/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/src/googletest/googletest/include/gtest/gtest.h:57, from /builddir/build/BUILD/dsms-storage/src/test/compressor/test_compression.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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%] Linking CXX executable ../../bin/unittest_crypto /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 62%] Built target unittest_crush [ 62%] Linking CXX executable ../../bin/unittest_striper /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 62%] Building CXX object src/test/mds/CMakeFiles/unittest_mds_sessionfilter.dir/TestSessionFilter.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 62%] Linking CXX executable ../../../bin/unittest_bounded_key_counter /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/erasure-code/ErasureCode.cc:26: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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%] Built target unittest_admin_socket [ 62%] Built target unittest_transaction [ 62%] Building CXX object src/test/mon/CMakeFiles/ceph_test_mon_workloadgen.dir/test_mon_workloadgen.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/test/librados/test_cxx.h:5, from /builddir/build/BUILD/dsms-storage/src/test/libradosstriper/TestCase.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ [ 62%] Building CXX object src/test/mon/CMakeFiles/ceph_test_mon_msg.dir/test-mon-msg.cc.o 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/src/test/librados/test_shared.h:8, from /builddir/build/BUILD/dsms-storage/src/test/librados/test.h:19, from /builddir/build/BUILD/dsms-storage/src/test/libradosstriper/TestCase.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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 63%] Building CXX object src/test/common/CMakeFiles/unittest_util.dir/__/__/common/util.cc.o [ 63%] Built target unittest_perf_counters [ 63%] Linking CXX executable ../../bin/ceph_test_admin_socket_output [ 63%] Building CXX object src/test/mon/CMakeFiles/unittest_mon_moncap.dir/moncap.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/PrimaryLogPG.cc:5068:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 63%] Built target unittest_crypto [ 63%] Built target unittest_striper In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/test/mon/CMakeFiles/unittest_mon_pgmap.dir/PGMap.cc.o [ 63%] Building CXX object src/test/mon/CMakeFiles/unittest_mon_monmap.dir/MonMap.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 63%] Built target unittest_bounded_key_counter /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 64%] Building CXX object src/test/mon/CMakeFiles/unittest_mon_montypes.dir/test_mon_types.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 64%] Built target ceph_test_admin_socket_output /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 64%] Linking CXX executable ../../bin/unittest_mempool /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/test/mon/CMakeFiles/unittest_mon_election.dir/test_election.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/cls/cas/cls_cas_ops.h:126:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/erasure-code/ErasureCode.cc:26: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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%] Linking CXX executable ../../bin/ceph_objectstore_bench In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/erasure-code/ErasureCode.cc:26: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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%] Linking CXX executable ../../../bin/unittest_sharedptr_registry /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required from '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/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage/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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MPGStats.h:56:11: required from here /builddir/build/BUILD/dsms-storage/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/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 In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/erasure-code/ErasureCode.cc:26: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/messages/MMonGetPurgedSnapsReply.h:35:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 64%] Building CXX object src/test/mgr/CMakeFiles/unittest_mgr_mgrcap.dir/test_mgrcap.cc.o [ 64%] Built target unittest_mempool [ 64%] Building CXX object src/test/msgr/CMakeFiles/ceph_test_async_driver.dir/test_async_driver.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 64%] Built target unittest_sharedptr_registry /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage/src/auth/KeyRing.h:18, from /builddir/build/BUILD/dsms-storage/src/tools/ceph_monstore_tool.cc:23: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 64%] Building CXX object src/test/msgr/CMakeFiles/ceph_test_msgr.dir/test_msgr.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/erasure-code/ErasureCode.cc:26: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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%] Linking CXX executable ../../bin/test_trans /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 64%] Linking CXX static library ../../../lib/librados_striper_test.a In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 64%] Built target rados_striper_test /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/test/msgr/CMakeFiles/ceph_test_async_networkstack.dir/test_async_networkstack.cc.o [ 64%] Building CXX object src/test/msgr/CMakeFiles/ceph_perf_msgr_server.dir/perf_msgr_server.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Linking CXX executable ../../bin/ceph-kvstore-tool [ 64%] Linking CXX executable ../../../bin/unittest_blkdev In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 64%] Built target test_trans [ 64%] Building CXX object src/test/msgr/CMakeFiles/ceph_perf_msgr_client.dir/perf_msgr_client.cc.o [ 64%] Building CXX object src/test/msgr/CMakeFiles/unittest_frames_v2.dir/test_frames_v2.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 64%] Linking CXX executable ../../bin/ceph_psim /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/erasure-code/ErasureCode.cc:26: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 64%] Built target unittest_blkdev In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/crush/CrushWrapper.h:14, from /builddir/build/BUILD/dsms-storage/src/erasure-code/ErasureCode.cc:25: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 64%] Building CXX object src/test/ObjectMap/CMakeFiles/ceph_test_object_map.dir/test_object_map.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 64%] Built target ceph_psim [ 64%] Linking CXX executable ../../bin/unittest_daemon_config [ 64%] Linking CXX executable ../../../bin/unittest_erasure_code_plugin_jerasure [ 64%] Building CXX object src/test/ObjectMap/CMakeFiles/ceph_test_keyvaluedb_atomicity.dir/test_keyvaluedb_atomicity.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/test/ObjectMap/CMakeFiles/ceph_test_keyvaluedb_iterators.dir/test_keyvaluedb_iterators.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Linking CXX executable ../../../bin/unittest_erasure_code_plugin_lrc In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Linking CXX executable ../../../bin/unittest_erasure_code_plugin_shec /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/crush/CrushWrapper.h:14, from /builddir/build/BUILD/dsms-storage/src/erasure-code/ErasureCode.cc:25: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 64%] Built target unittest_erasure_code_plugin_jerasure [ 64%] Built target unittest_daemon_config [ 64%] Building CXX object src/test/ObjectMap/CMakeFiles/ceph_test_keyvaluedb_iterators.dir/KeyValueDBMemory.cc.o [ 64%] Building CXX object src/test/objectstore/CMakeFiles/ceph_perf_objectstore.dir/ObjectStoreTransactionBenchmark.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/crush/CrushWrapper.h:14, from /builddir/build/BUILD/dsms-storage/src/erasure-code/ErasureCode.cc:25: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/test/erasure-code/ErasureCodeExample.h:26, from /builddir/build/BUILD/dsms-storage/src/test/erasure-code/TestErasureCodeExample.cc:19: /builddir/build/BUILD/dsms-storage/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/src/include/stringify.h:4, from /builddir/build/BUILD/dsms-storage/src/test/erasure-code/TestErasureCodeExample.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 64%] Built target unittest_erasure_code_plugin_lrc /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/test/ObjectMap/CMakeFiles/ceph_test_object_map.dir/KeyValueDBMemory.cc.o [ 64%] Building CXX object src/test/objectstore/CMakeFiles/ceph_test_objectstore.dir/store_test.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/test/erasure-code/TestErasureCodeShec.cc:26: /builddir/build/BUILD/dsms-storage/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/src/crush/CrushWrapper.h:8, from /builddir/build/BUILD/dsms-storage/src/test/erasure-code/TestErasureCodeShec.cc:25: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/crush/CrushWrapper.h:14, from /builddir/build/BUILD/dsms-storage/src/erasure-code/ErasureCode.cc:25: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Built target ceph-osdomap-tool /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Built target unittest_erasure_code_plugin_shec In file included from /builddir/build/BUILD/dsms-storage/src/include/btree_map.h:7, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:34, from /builddir/build/BUILD/dsms-storage/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/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/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage/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/aarch64-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/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/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/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/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/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/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 64%] Building CXX object src/test/objectstore/CMakeFiles/ceph_test_keyvaluedb.dir/test_kv.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 64%] Building CXX object src/test/objectstore/CMakeFiles/ceph_test_filestore_idempotent.dir/test_idempotent.cc.o [ 64%] Linking CXX executable ../../../bin/unittest_throttle In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/test/erasure-code/TestErasureCodeShec_all.cc:25: /builddir/build/BUILD/dsms-storage/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/src/crush/CrushWrapper.h:8, from /builddir/build/BUILD/dsms-storage/src/test/erasure-code/TestErasureCodeShec_all.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 64%] Linking CXX executable ../../../bin/unittest_json_formattable /builddir/build/BUILD/dsms-storage/src/test/test_filejournal.cc: In function 'int main(int, char**)': /builddir/build/BUILD/dsms-storage/src/test/test_filejournal.cc:86:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound depends on the length of the source argument [-Wstringop-truncation] 86 | strncpy(path, args[i], copy_len); | ^ /builddir/build/BUILD/dsms-storage/src/test/test_filejournal.cc:85:60: note: length computed here 85 | size_t copy_len = std::min(sizeof(path) - 1, strlen(args[i])); | ~~~~~~^~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/btree_map.h:7, from /builddir/build/BUILD/dsms-storage/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/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/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage/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/aarch64-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/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/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/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/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/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/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 64%] Linking CXX executable ../../bin/crushtool /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/test/erasure-code/TestErasureCodeShec_arguments.cc:25: /builddir/build/BUILD/dsms-storage/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/src/crush/CrushWrapper.h:8, from /builddir/build/BUILD/dsms-storage/src/test/erasure-code/TestErasureCodeShec_arguments.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/crush/CrushWrapper.h:14, from /builddir/build/BUILD/dsms-storage/src/erasure-code/ErasureCode.cc:25: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 64%] Building CXX object src/test/objectstore/CMakeFiles/ceph_test_filestore_idempotent.dir/FileStoreTracker.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/test/erasure-code/TestErasureCodeShec_thread.cc:26: /builddir/build/BUILD/dsms-storage/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/src/crush/CrushWrapper.h:8, from /builddir/build/BUILD/dsms-storage/src/test/erasure-code/TestErasureCodeShec_thread.cc:25: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Built target unittest_throttle /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/include/denc.h:1554:23: required 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/src/messages/MMonGetPurgedSnapsReply.h:35:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/test/compressor/test_compression.cc:21: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 64%] Building CXX object src/test/objectstore/CMakeFiles/ceph_test_filestore_idempotent_sequence.dir/test_idempotent_sequence.cc.o [ 64%] Built target unittest_json_formattable In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 64%] Building CXX object src/test/objectstore/CMakeFiles/ceph_test_filestore_idempotent.dir/__/common/ObjectContents.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Built target crushtool /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 64%] Building CXX object src/test/objectstore/CMakeFiles/unittest_chain_xattr.dir/chain_xattr.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileStore.h:33, from /builddir/build/BUILD/dsms-storage/src/test/filestore/TestFileStore.cc:19: /builddir/build/BUILD/dsms-storage/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/src/common/ceph_argparse.h:26, from /builddir/build/BUILD/dsms-storage/src/test/filestore/TestFileStore.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/crush/CrushWrapper.h:14, from /builddir/build/BUILD/dsms-storage/src/erasure-code/ErasureCode.cc:25: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 64%] Linking CXX executable ../../bin/unittest_ipaddr /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Linking CXX executable ../../bin/ceph-conf /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h: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/src/include/denc.h:1005:15: required from 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/messages/MMonGetPurgedSnapsReply.h:35:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 64%] Built target unittest_ipaddr In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/Monitor.h:30: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 64%] Building CXX object src/test/objectstore/CMakeFiles/ceph_test_filestore_idempotent_sequence.dir/DeterministicOpSequence.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 64%] Built target ceph-conf /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 64%] Building CXX object src/test/objectstore/CMakeFiles/unittest_rocksdb_option.dir/TestRocksdbOptionParse.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 64%] Linking CXX executable ../../bin/ceph-bluestore-tool /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/common/ObjectContents.h:2, from /builddir/build/BUILD/dsms-storage/src/test/common/ObjectContents.cc:2: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage/src/include/interval_set.h:23: /builddir/build/BUILD/dsms-storage/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/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/src/test/common/ObjectContents.cc:83:18: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/test/mon/test_mon_workloadgen.cc:37: /builddir/build/BUILD/dsms-storage/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/src/test/mon/test_mon_workloadgen.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/test/common/ObjectContents.h:116:11: required from here /builddir/build/BUILD/dsms-storage/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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/test/common/ObjectContents.h:117:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/stringify.h:7: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 64%] Linking CXX executable ../../../bin/unittest_erasure_code_plugin_clay /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/mon/PGMap.h:27, from /builddir/build/BUILD/dsms-storage/src/test/mon/PGMap.cc:14: /builddir/build/BUILD/dsms-storage/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/src/include/health.h:6, from /builddir/build/BUILD/dsms-storage/src/mon/PGMap.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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%] Linking CXX executable ../../../bin/unittest_shared_cache [ 64%] Building CXX object src/test/objectstore/CMakeFiles/unittest_alloc.dir/Allocator_test.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/crush/CrushWrapper.h:14: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/crush/CrushWrapper.h:14: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:20, from /builddir/build/BUILD/dsms-storage/src/test/mon/test_mon_types.cc:15: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/test/fs/mds_types.cc:18: /builddir/build/BUILD/dsms-storage/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/memory:63, from /builddir/build/BUILD/dsms-storage/src/googletest/googletest/include/gtest/gtest.h:57, from /builddir/build/BUILD/dsms-storage/src/test/fs/mds_types.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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/crush/CrushWrapper.h:14: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Built target unittest_erasure_code_plugin_clay /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 64%] Building CXX object src/test/objectstore/CMakeFiles/unittest_alloc_bench.dir/Allocator_bench.cc.o [ 64%] Built target unittest_shared_cache /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 64%] Building CXX object src/test/objectstore/CMakeFiles/unittest_fastbmap_allocator.dir/fastbmap_allocator_test.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/crush/CrushWrapper.h:14: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:23, from /builddir/build/BUILD/dsms-storage/src/test/mds/TestSessionFilter.cc:18: /builddir/build/BUILD/dsms-storage/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/src/test/mds/TestSessionFilter.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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/SessionMap.h:25: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Built target ceph_objectstore_bench /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 64%] Linking CXX executable ../../../bin/ceph_erasure_code_non_regression [ 64%] Building CXX object src/test/objectstore/CMakeFiles/unittest_hybrid_allocator.dir/hybrid_allocator_test.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MMonJoin.h:18, from /builddir/build/BUILD/dsms-storage/src/test/mon/test-mon-msg.cc:43: /builddir/build/BUILD/dsms-storage/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/src/test/mon/test-mon-msg.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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 64%] Building CXX object src/test/objectstore/CMakeFiles/unittest_bluefs.dir/test_bluefs.cc.o [ 64%] Building CXX object src/test/objectstore/CMakeFiles/unittest_bluestore_types.dir/test_bluestore_types.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/common/ObjectContents.h:2, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/FileStoreTracker.h:5, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/FileStoreTracker.cc:2: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/os/filestore/LFNIndex.h:27, from /builddir/build/BUILD/dsms-storage/src/os/filestore/HashIndex.h:20, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileStore.h:42: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/MonMap.h:26, from /builddir/build/BUILD/dsms-storage/src/test/mon/MonMap.cc:14: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 64%] Built target ceph_erasure_code_non_regression In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 64%] Building CXX object src/test/objectstore/CMakeFiles/unittest_bdev.dir/test_bdev.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 64%] Linking CXX executable ../../../bin/unittest_dns_resolve /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Linking CXX executable ../../../bin/ceph_erasure_code_benchmark /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Linking CXX executable ../../../bin/unittest_erasure_code_plugin /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/test/objectstore/CMakeFiles/unittest_memstore_clone.dir/test_memstore_clone.cc.o [ 64%] Linking CXX executable ../../../bin/ceph_test_keyvaluedb_atomicity /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 64%] Building CXX object src/test/objectstore/CMakeFiles/ceph_test_bmap_alloc_replay.dir/bmap_allocator_replay_test.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Built target unittest_dns_resolve In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/test/msgr/perf_msgr_client.cc:30: /builddir/build/BUILD/dsms-storage/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/src/test/msgr/perf_msgr_client.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/test/msgr/perf_msgr_server.cc:30: /builddir/build/BUILD/dsms-storage/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/src/test/msgr/perf_msgr_server.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/test/os/CMakeFiles/unittest_lfnindex.dir/TestLFNIndex.cc.o [ 64%] Built target ceph_erasure_code_benchmark [ 65%] Linking CXX executable ../../bin/ceph_test_filejournal [ 65%] Built target ceph-kvstore-tool [ 65%] Building CXX object src/test/osd/CMakeFiles/unittest_osdmap.dir/TestOSDMap.cc.o [ 65%] Building CXX object src/test/osd/CMakeFiles/unittest_osd_types.dir/types.cc.o [ 65%] Built target unittest_erasure_code_plugin In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 65%] Building CXX object src/test/osdc/CMakeFiles/ceph_test_objectcacher_stress.dir/object_cacher_stress.cc.o [ 65%] Linking CXX executable ../../../bin/unittest_erasure_code [ 65%] Linking CXX executable ../../../bin/unittest_erasure_code_plugin_isa In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/async/frames_v2.h:4, from /builddir/build/BUILD/dsms-storage/src/test/msgr/test_frames_v2.cc:15: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage/src/test/msgr/test_msgr.cc:26: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/filestore/DBObjectMap.h:15, from /builddir/build/BUILD/dsms-storage/src/test/ObjectMap/test_object_map.cc:9: /builddir/build/BUILD/dsms-storage/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/src/test/ObjectMap/test_object_map.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/health.h:9: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 65%] Built target unittest_erasure_code /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 65%] Built target ceph_test_filejournal [ 65%] Building CXX object src/test/objectstore/CMakeFiles/ceph_test_filestore_idempotent_sequence.dir/TestObjectStoreState.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/ObjectStoreTransactionBenchmark.cc:28: /builddir/build/BUILD/dsms-storage/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/src/test/objectstore/ObjectStoreTransactionBenchmark.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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 src/test/rgw/CMakeFiles/unittest_rgw_dmclock_scheduler.dir/test_rgw_dmclock_scheduler.cc.o [ 65%] Linking CXX executable ../../../bin/unittest_mon_montypes /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 65%] Building CXX object src/test/objectstore/CMakeFiles/ceph_test_filestore_idempotent_sequence.dir/FileStoreDiff.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/store_test.cc:27: /builddir/build/BUILD/dsms-storage/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/src/test/objectstore/store_test.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Built target unittest_erasure_code_plugin_isa [ 65%] Linking CXX executable ../../../bin/unittest_mgr_mgrcap [ 65%] Building C object src/mount/CMakeFiles/mount.ceph.dir/mount.ceph.c.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 66%] Linking CXX executable ../../bin/osdmaptool In file included from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDBoot.h:18, from /builddir/build/BUILD/dsms-storage/src/test/mon/test_mon_workloadgen.cc:57: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileStore.h:33, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/test_idempotent.cc:18: /builddir/build/BUILD/dsms-storage/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/src/test/objectstore/test_idempotent.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 66%] Built target unittest_mon_montypes /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 66%] Linking CXX static library ../../lib/libglobal-static.a [ 66%] Building CXX object src/mount/CMakeFiles/mount.ceph.dir/conf.cc.o [ 66%] Linking CXX executable ../../../bin/unittest_mon_moncap In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 66%] Built target global-static [ 66%] Building CXX object src/CMakeFiles/ceph-mon.dir/ceph_mon.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 66%] Built target osdmaptool [ 66%] Building CXX object src/CMakeFiles/ceph-mds.dir/ceph_mds.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileStore.h:33, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/FileStoreTracker.h:6: /builddir/build/BUILD/dsms-storage/src/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileStore.h:33, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/test_idempotent_sequence.cc:22: /builddir/build/BUILD/dsms-storage/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/src/test/objectstore/test_idempotent_sequence.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 66%] Built target unittest_mgr_mgrcap /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 66%] Building CXX object src/CMakeFiles/ceph-syn.dir/ceph_syn.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage/src/test/msgr/perf_msgr_client.cc:25: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/fastbmap_allocator_impl.h:36, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/fastbmap_allocator_test.cc:7: /builddir/build/BUILD/dsms-storage/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/src/test/objectstore/fastbmap_allocator_test.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 66%] Built target unittest_mon_moncap In file included from /builddir/build/BUILD/dsms-storage/src/os/filestore/LFNIndex.h:27, from /builddir/build/BUILD/dsms-storage/src/os/filestore/HashIndex.h:20, from /builddir/build/BUILD/dsms-storage/src/test/ObjectMap/test_object_map.cc:10: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage/src/test/msgr/perf_msgr_server.cc:25: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage/src/test/mon/test-mon-msg.cc:23: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/DeterministicOpSequence.cc:21: /builddir/build/BUILD/dsms-storage/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/src/test/objectstore/DeterministicOpSequence.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 66%] Building CXX object src/CMakeFiles/ceph-fuse.dir/ceph_fuse.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 66%] Linking CXX executable ../../../bin/unittest_mds_authcap /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Linking CXX executable ../../../bin/unittest_mon_election /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/Allocator.h:17, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/AvlAllocator.h:9, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/HybridAllocator.h:8, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/hybrid_allocator_test.cc:7: /builddir/build/BUILD/dsms-storage/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/src/test/objectstore/hybrid_allocator_test.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/bluefs_types.h:8, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/BlueFS.h:10, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/test_bluefs.cc:20: /builddir/build/BUILD/dsms-storage/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/src/test/objectstore/test_bluefs.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/test_bluestore_types.cc:5: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/test_bluestore_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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/bluestore_types.h:21: /builddir/build/BUILD/dsms-storage/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/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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 66%] Built target unittest_mds_authcap [ 66%] Linking CXX executable ../../../bin/unittest_util [ 66%] Building CXX object src/CMakeFiles/ceph-fuse.dir/client/fuse_ll.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/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/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/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 67%] Linking CXX shared library ../lib/libcephfs.so [ 67%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/__/ceph_mgr.cc.o [ 67%] Built target ceph-bluestore-tool [ 67%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/__/mon/PGMap.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/ObjectStoreTransactionBenchmark.cc:24: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/kv/KeyValueDB.h:12, from /builddir/build/BUILD/dsms-storage/src/test/ObjectMap/KeyValueDBMemory.h:7, from /builddir/build/BUILD/dsms-storage/src/test/ObjectMap/test_object_map.cc:7: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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%] Built target unittest_mon_election [ 67%] Built target unittest_util [ 67%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/ActivePyModule.cc.o [ 67%] Building CXX object src/CMakeFiles/ceph-syn.dir/client/SyntheticClient.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Linking CXX executable ../../../bin/unittest_crush_wrapper /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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%] Built target ceph_test_keyvaluedb_atomicity [ 67%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/ActivePyModules.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 67%] Linking CXX executable ../../../bin/ceph_test_async_driver In file included from /builddir/build/BUILD/dsms-storage/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/Allocator.h:17, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/Allocator_test.cc:15: /builddir/build/BUILD/dsms-storage/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/src/test/objectstore/Allocator_test.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/os/filestore/LFNIndex.h:27, from /builddir/build/BUILD/dsms-storage/src/os/filestore/HashIndex.h:20, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileStore.h:42, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/store_test.cc:28: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/stringify.h:7, from /builddir/build/BUILD/dsms-storage/src/test/mds/TestSessionFilter.cc:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:33: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 67%] Built target unittest_crush_wrapper /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 67%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/BaseMgrModule.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/Allocator.h:17, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/Allocator_bench.cc:15: /builddir/build/BUILD/dsms-storage/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/src/test/objectstore/Allocator_bench.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/os/filestore/LFNIndex.h:27, from /builddir/build/BUILD/dsms-storage/src/os/filestore/HashIndex.h:20, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileStore.h:42: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/os/bluestore/BlockDevice.h:38, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/test_bdev.cc:15: /builddir/build/BUILD/dsms-storage/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/src/test/objectstore/test_bdev.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 67%] Built target cephfs /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/os/filestore/LFNIndex.h:27, from /builddir/build/BUILD/dsms-storage/src/os/filestore/HashIndex.h:20, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileStore.h:42: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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%] Generating ../../../lib/cython_modules/lib.3/cephfs.cpython-310-aarch64-linux-gnu.so /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 67%] Built target ceph_test_async_driver [ 67%] Building CXX object src/tools/CMakeFiles/ceph-client-debug.dir/ceph-client-debug.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MOSDBoot.h:79:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MPGStats.h:56:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/os/filestore/LFNIndex.h:27, from /builddir/build/BUILD/dsms-storage/src/os/filestore/HashIndex.h:20, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileStore.h:42: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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%] Linking CXX executable ../../../bin/unittest_erasure_code_shec_thread /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:18: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage/src/common/Cond.h:19, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/Allocator_test.cc:11: /builddir/build/BUILD/dsms-storage/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/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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage/src/common/Cond.h:19, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/Allocator_bench.cc:11: /builddir/build/BUILD/dsms-storage/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/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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileStore.h:19: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/bluestore_types.h:21: /builddir/build/BUILD/dsms-storage/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/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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/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/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/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/filestore/LFNIndex.h:25, from /builddir/build/BUILD/dsms-storage/src/test/os/TestLFNIndex.cc:24: /builddir/build/BUILD/dsms-storage/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/src/os/filestore/LFNIndex.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MOSDBoot.h:79:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MPGStats.h:56:11: required from here /builddir/build/BUILD/dsms-storage/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/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 In file included from /builddir/build/BUILD/dsms-storage/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage/src/include/interval_set.h:23: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 67%] Built target unittest_erasure_code_shec_thread In file included from /builddir/build/BUILD/dsms-storage/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/Allocator.h:17, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/bmap_allocator_replay_test.cc:13: /builddir/build/BUILD/dsms-storage/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/src/test/objectstore/bmap_allocator_replay_test.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/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/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/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 67%] Building CXX object src/test/CMakeFiles/test_build_libcephfs.dir/buildtest_skeleton.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/test_memstore_clone.cc:17: /builddir/build/BUILD/dsms-storage/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/src/test/objectstore/test_memstore_clone.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/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/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/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/test_bluefs.cc:14: /builddir/build/BUILD/dsms-storage/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/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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 68%] Linking CXX executable ../../bin/unittest_denc [ 68%] Linking CXX executable ../../../bin/unittest_erasure_code_clay /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 68%] Linking CXX executable ../../bin/test_build_libcephfs In file included from /builddir/build/BUILD/dsms-storage/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/test_idempotent_sequence.cc:19: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/os/bluestore/BlueStore.h:48, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/test_bluestore_types.cc:9: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 68%] Linking CXX executable ../../../bin/unittest_mds_types /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/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/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/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 68%] Linking CXX executable ../../../bin/unittest_erasure_code_isa [ 68%] Built target test_build_libcephfs In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/test/osd/TestOSDMap.cc:3: /builddir/build/BUILD/dsms-storage/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/src/googletest/googletest/include/gtest/gtest.h:57, from /builddir/build/BUILD/dsms-storage/src/test/osd/TestOSDMap.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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 src/test/CMakeFiles/unittest_libcephfs_config.dir/libcephfs_config.cc.o [ 68%] Built target unittest_denc In file included from /builddir/build/BUILD/dsms-storage/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/osdc/ObjectCacher.h:7, from /builddir/build/BUILD/dsms-storage/src/test/osdc/object_cacher_stress.cc:20: /builddir/build/BUILD/dsms-storage/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/src/test/osdc/object_cacher_stress.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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/test/fs/CMakeFiles/ceph_test_trim_caps.dir/test_trim_caps.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/TestObjectStoreState.cc:19: /builddir/build/BUILD/dsms-storage/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/src/test/objectstore/TestObjectStoreState.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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%] Built target unittest_erasure_code_clay [ 68%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/BaseMgrStandbyModule.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/test/osd/types.cc:19: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/test/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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 src/test/fs/CMakeFiles/ceph_test_ino_release_cb.dir/test_ino_release_cb.cc.o [ 68%] Linking CXX executable ../../../bin/ceph_test_trim_caps [ 68%] Linking CXX executable ../../../bin/unittest_mon_monmap In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileStore.h:33, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/FileStoreDiff.cc:18: /builddir/build/BUILD/dsms-storage/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 /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/bmap_allocator_replay_test.cc:9: /builddir/build/BUILD/dsms-storage/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/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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/test/objectstore/FileStoreDiff.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 68%] Built target unittest_mds_types [ 68%] Building CXX object src/test/osdc/CMakeFiles/ceph_test_objectcacher_stress.dir/FakeWriteback.cc.o [ 68%] Building CXX object src/test/osdc/CMakeFiles/ceph_test_objectcacher_stress.dir/MemWriteback.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 68%] Built target unittest_erasure_code_isa [ 68%] Built target ceph_test_trim_caps /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 68%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/ClusterState.cc.o [ 68%] Building CXX object src/test/libcephfs/CMakeFiles/ceph_test_libcephfs.dir/test.cc.o Compiling cephfs.pyx because it changed. [1/1] Cythonizing cephfs.pyx running build running build_ext building 'cephfs' extension creating /builddir/build/BUILD/dsms-storage/build/lib/cython_modules creating /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-aarch64-cpython-310 creating /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-aarch64-cpython-310/builddir creating /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-aarch64-cpython-310/builddir/build creating /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-aarch64-cpython-310/builddir/build/BUILD creating /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-aarch64-cpython-310/builddir/build/BUILD/dsms-storage creating /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-aarch64-cpython-310/builddir/build/BUILD/dsms-storage/build creating /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-aarch64-cpython-310/builddir/build/BUILD/dsms-storage/build/src creating /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-aarch64-cpython-310/builddir/build/BUILD/dsms-storage/build/src/pybind creating /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-aarch64-cpython-310/builddir/build/BUILD/dsms-storage/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.10 -I/usr/include/python3.10 -c /builddir/build/BUILD/dsms-storage/build/src/pybind/cephfs/cephfs.c -o /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-aarch64-cpython-310/builddir/build/BUILD/dsms-storage/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/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/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/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 68%] Linking CXX executable ../../../bin/unittest_erasure_code_lrc [ 68%] Built target unittest_mon_monmap [ 68%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/DaemonHealthMetricCollector.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/IoCtxImpl.h:29, from /builddir/build/BUILD/dsms-storage/src/librados/librados_c.cc:19: /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h: In member function 'virtual void ObjectOperation::C_ObjectOperation_decodekeys::finish(int)': /builddir/build/BUILD/dsms-storage/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/src/osdc/Objecter.h:500:35: note: 'ignore' declared here 500 | std::set ignore; | ^~~~~~ /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:500:35: note: '' declared here /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/osdc/ObjectCacher.h:17: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/os/filestore/LFNIndex.h:27: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 68%] Linking CXX executable ../../../bin/unittest_bdev /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/test/common/ObjectContents.h:116:11: required from here /builddir/build/BUILD/dsms-storage/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/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 /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Linking CXX executable ../../../bin/unittest_erasure_code_example /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 68%] Built target unittest_erasure_code_lrc /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 68%] Building CXX object src/test/libcephfs/CMakeFiles/ceph_test_libcephfs_reclaim.dir/reclaim.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 68%] Linking CXX executable ../../../bin/unittest_frames_v2 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/Elector.h:23, from /builddir/build/BUILD/dsms-storage/src/mon/Monitor.h:38, from /builddir/build/BUILD/dsms-storage/src/ceph_mon.cc:26: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 68%] Linking CXX executable ../../../bin/unittest_rocksdb_option /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/test/common/ObjectContents.h:116:11: required from here /builddir/build/BUILD/dsms-storage/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] /builddir/build/BUILD/dsms-storage/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 In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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%] Linking CXX executable ../../../bin/unittest_mon_pgmap [ 68%] Linking CXX executable ../../../bin/unittest_compression In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/mount/conf.cc:9: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:33: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 68%] Built target unittest_bdev [ 68%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/DaemonKey.cc.o [ 68%] Built target unittest_erasure_code_example /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 68%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/DaemonServer.cc.o [ 68%] Linking CXX executable ../../../bin/ceph_test_filestore /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Linking CXX executable ../../../bin/ceph_perf_msgr_server /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 68%] Built target unittest_frames_v2 [ 68%] Linking CXX executable ../../bin/unittest_libcephfs_config [ 68%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/DaemonState.cc.o [ 69%] Linking CXX executable ../../../bin/unittest_erasure_code_jerasure /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 69%] Built target unittest_mon_pgmap [ 69%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/Gil.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/global/global_init.h:22, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/test_memstore_clone.cc:15: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 69%] Built target unittest_compression [ 69%] Linking CXX executable ../../../bin/unittest_chain_xattr /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 69%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/Mgr.cc.o [ 69%] Building CXX object src/test/libcephfs/CMakeFiles/ceph_test_libcephfs.dir/readdir_r_cb.cc.o [ 69%] Built target unittest_libcephfs_config /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 69%] Building CXX object src/test/libcephfs/CMakeFiles/ceph_test_libcephfs.dir/caps.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/test_memstore_clone.cc:16: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/test/libcephfs/CMakeFiles/ceph_test_libcephfs.dir/multiclient.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/test/common/ObjectContents.h:117:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h:1556: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/src/test/common/ObjectContents.h:117:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Linking CXX executable ../../../bin/ceph_test_async_networkstack [ 69%] Built target ceph_perf_msgr_server [ 69%] Building CXX object src/test/libcephfs/CMakeFiles/ceph_test_libcephfs.dir/flock.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:18: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/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/src/client/Client.h:28, from /builddir/build/BUILD/dsms-storage/src/client/SyntheticClient.h:21, from /builddir/build/BUILD/dsms-storage/src/ceph_syn.cc:21: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/client/Client.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 70%] Linking CXX executable ../../../bin/unittest_erasure_code_shec_arguments In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/mon/PGMap.h:27, from /builddir/build/BUILD/dsms-storage/src/mon/PGMap.cc:6: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 70%] Built target unittest_erasure_code_jerasure In file included from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:18: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ [ 70%] Linking CXX executable ../../../bin/ceph_perf_msgr_client [ 70%] Building CXX object src/test/libcephfs/CMakeFiles/ceph_test_libcephfs.dir/recordlock.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/MDSMap.h:37, from /builddir/build/BUILD/dsms-storage/src/messages/MMDSMap.h:20, from /builddir/build/BUILD/dsms-storage/src/mds/MDSDaemon.h:23, from /builddir/build/BUILD/dsms-storage/src/ceph_mds.cc:32: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 70%] Linking CXX executable ../../../bin/unittest_erasure_code_shec_all /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 70%] Built target unittest_chain_xattr /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/client/Client.h:28, from /builddir/build/BUILD/dsms-storage/src/ceph_fuse.cc:23: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/client/Client.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 70%] Building CXX object src/test/libcephfs/CMakeFiles/ceph_test_libcephfs.dir/acl.cc.o [ 70%] Linking CXX shared library ../../lib/librados.so /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 70%] Linking CXX executable ../../../bin/ceph_test_bmap_alloc_replay /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/os/filestore/LFNIndex.h:27, from /builddir/build/BUILD/dsms-storage/src/os/filestore/HashIndex.h:20, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileStore.h:42: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 70%] Built target ceph_perf_msgr_client /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 71%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/MgrStandby.cc.o [ 71%] Built target ceph_test_async_networkstack In file included from /builddir/build/BUILD/dsms-storage/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/Paxos.h:121, from /builddir/build/BUILD/dsms-storage/src/mon/PaxosService.h:19, from /builddir/build/BUILD/dsms-storage/src/mon/OSDMonitor.h:37, from /builddir/build/BUILD/dsms-storage/src/test/osd/TestOSDMap.cc:5: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 71%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/MetricCollector.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 71%] Linking CXX executable ../../../bin/ceph_test_libcephfs_reclaim [ 71%] Built target unittest_erasure_code_shec_arguments [ 71%] Built target unittest_erasure_code_shec_all [ 71%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/OSDPerfMetricTypes.cc.o [ 71%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/OSDPerfMetricCollector.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage/src/mgr/ActivePyModule.cc:16: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 71%] Built target ceph_test_bmap_alloc_replay [ 71%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/PyFormatter.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 71%] Built target ceph_test_libcephfs_reclaim [ 71%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/PyUtil.cc.o /builddir/build/BUILD/dsms-storage/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 71%] Linking CXX executable ../../../bin/unittest_hybrid_allocator /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 71%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/PyModule.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/client/Client.h:28, from /builddir/build/BUILD/dsms-storage/src/client/fuse_ll.cc:31: /builddir/build/BUILD/dsms-storage/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/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/client/Client.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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%] Linking CXX executable ../../../bin/unittest_mds_sessionfilter /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/FileStoreDiff.cc:17: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/client/Client.h:28, from /builddir/build/BUILD/dsms-storage/src/client/SyntheticClient.h:21, from /builddir/build/BUILD/dsms-storage/src/client/SyntheticClient.cc:22: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/client/Client.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/client/Client.h:28, from /builddir/build/BUILD/dsms-storage/src/mgr/MgrStandby.h:23, from /builddir/build/BUILD/dsms-storage/src/ceph_mgr.cc:29: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 71%] Built target librados In file included from /builddir/build/BUILD/dsms-storage/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/client/Client.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/health.h:9, from /builddir/build/BUILD/dsms-storage/src/mgr/DaemonHealthMetricCollector.cc:3: /builddir/build/BUILD/dsms-storage/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 71%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/PyModuleRegistry.cc.o [ 71%] Building CXX object src/test/libcephfs/CMakeFiles/ceph_test_libcephfs.dir/main.cc.o [ 71%] Building CXX object src/test/libcephfs/CMakeFiles/ceph_test_libcephfs.dir/deleg.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 71%] Linking CXX executable ../../bin/mount.ceph /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 71%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/PyModuleRunner.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 71%] Built target unittest_hybrid_allocator /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 71%] Building CXX object src/CMakeFiles/librados-config.dir/librados-config.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mgr/ActivePyModules.cc:22: /builddir/build/BUILD/dsms-storage/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/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 71%] Built target mount.ceph [ 71%] Building CXX object src/libradosstriper/CMakeFiles/radosstriper.dir/libradosstriper.cc.o /builddir/build/BUILD/dsms-storage/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/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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 71%] Building CXX object src/test/libcephfs/CMakeFiles/ceph_test_libcephfs.dir/monconfig.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 71%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/PyOSDMap.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 71%] Linking CXX executable ../../../bin/ceph_test_mon_msg /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 71%] Linking CXX executable ../../../bin/unittest_alloc_bench In file included from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/MDSMap.h:37, from /builddir/build/BUILD/dsms-storage/src/mds/FSMap.h:29, from /builddir/build/BUILD/dsms-storage/src/mgr/Mgr.h:20, from /builddir/build/BUILD/dsms-storage/src/mgr/BaseMgrModule.cc:23: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/client/Inode.h:11, from /builddir/build/BUILD/dsms-storage/src/tools/ceph-client-debug.cc:21: /builddir/build/BUILD/dsms-storage/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/src/common/ceph_argparse.h:26, from /builddir/build/BUILD/dsms-storage/src/tools/ceph-client-debug.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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MMonCommand.h:18, from /builddir/build/BUILD/dsms-storage/src/mds/MDSDaemon.h:24: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 71%] Built target unittest_rocksdb_option [ 71%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/StandbyPyModules.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage/src/mds/flock.h:9, from /builddir/build/BUILD/dsms-storage/src/client/Inode.h:13: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/os/bluestore/BlueStore.h:3536:39: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage/src/test/osdc/object_cacher_stress.cc:11: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/test/osdc/FakeWriteback.h:8, from /builddir/build/BUILD/dsms-storage/src/test/osdc/FakeWriteback.cc:15: /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage/src/test/osdc/FakeWriteback.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/test/osdc/MemWriteback.h:8, from /builddir/build/BUILD/dsms-storage/src/test/osdc/MemWriteback.cc:15: /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage/src/test/osdc/MemWriteback.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 71%] Linking CXX executable ../../bin/unittest_bufferlist [ 71%] Built target ceph_test_mon_msg /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/osdc/ObjectCacher.h:17, from /builddir/build/BUILD/dsms-storage/src/client/Client.h:37: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 71%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_auth_keystone.cc.o [ 71%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_client_io.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/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/src/include/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/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/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 71%] Built target unittest_alloc_bench /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 71%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_frontend.cc.o /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/os/bluestore/BlueStore.h:3536:39: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 71%] Linking CXX executable ../../../bin/unittest_alloc In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/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/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/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/osdc/ObjectCacher.h:17, from /builddir/build/BUILD/dsms-storage/src/client/Client.h:37: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 71%] Built target unittest_bufferlist /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 72%] Building CXX object src/librbd/CMakeFiles/librbd.dir/librbd.cc.o [ 73%] Linking CXX executable ../../../bin/ceph_test_keyvaluedb /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 73%] Linking CXX executable ../../../bin/ceph_perf_objectstore [ 73%] Linking CXX executable ../../../bin/unittest_rgw_dmclock_scheduler In file included from /builddir/build/BUILD/dsms-storage/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 73%] Linking CXX executable ../../../bin/get_command_descriptions In file included from /usr/include/c++/12/bits/std_thread.h:43, from /usr/include/c++/12/thread:43, from /builddir/build/BUILD/dsms-storage/src/test/objectstore/test_bluefs.cc:11: In member function 'void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = char]', inlined from 'std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = char; _Dp = std::default_delete]' at /usr/include/c++/12/bits/unique_ptr.h:396:17, inlined from 'virtual void BlueFS_very_large_write_Test::TestBody()' at /builddir/build/BUILD/dsms-storage/src/test/objectstore/test_bluefs.cc:304:60: /usr/include/c++/12/bits/unique_ptr.h:95:9: warning: 'void operator delete(void*, std::size_t)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 95 | delete __ptr; | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/test/objectstore/test_bluefs.cc: In member function 'virtual void BlueFS_very_large_write_Test::TestBody()': /builddir/build/BUILD/dsms-storage/src/test/objectstore/test_bluefs.cc:304:59: note: returned from 'void* operator new [](std::size_t)' 304 | unique_ptr huge_buf(new char[h->file->fnode.size]); | ^ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/msg/Message.h:24, from /builddir/build/BUILD/dsms-storage/src/msg/Messenger.h:27, from /builddir/build/BUILD/dsms-storage/src/mon/MonClient.h:25, from /builddir/build/BUILD/dsms-storage/src/mgr/StandbyPyModules.h:25, from /builddir/build/BUILD/dsms-storage/src/mgr/BaseMgrStandbyModule.cc:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 73%] Built target unittest_alloc /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mgr/OSDPerfMetricTypes.h:7, from /builddir/build/BUILD/dsms-storage/src/mgr/OSDPerfMetricTypes.cc:4: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/test/osd/types.cc:947:19: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 73%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_http_client_curl.cc.o [ 73%] Building C object src/tools/CMakeFiles/ceph_scratchtool.dir/scratchtool.c.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 73%] Built target ceph_perf_objectstore [ 73%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_loadgen.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MMonMgrReport.h:18, from /builddir/build/BUILD/dsms-storage/src/mgr/ClusterState.cc:15: /builddir/build/BUILD/dsms-storage/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/src/msg/Message.h:19, from /builddir/build/BUILD/dsms-storage/src/messages/MMgrDigest.h:19, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/test/fs/test_ino_release_cb.cc:3: /builddir/build/BUILD/dsms-storage/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/src/test/fs/test_ino_release_cb.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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 73%] Linking CXX executable ../../bin/ceph_scratchtool /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 73%] Linking CXX executable ../bin/librados-config /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 73%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_log.cc.o /builddir/build/BUILD/dsms-storage/src/test/osd/TestOSDMap.cc: In member function 'virtual void OSDMapTest_BUG_48884_Test::TestBody()': /builddir/build/BUILD/dsms-storage/src/test/osd/TestOSDMap.cc:1928:19: warning: loop variable 'bucket' creates a copy from type 'const std::__cxx11::basic_string' [-Wrange-loop-construct] 1928 | for (const auto bucket : (*iter)->get_array_elements()) { | ^~~~~~ /builddir/build/BUILD/dsms-storage/src/test/osd/TestOSDMap.cc:1928:19: note: use reference type to prevent copying 1928 | for (const auto bucket : (*iter)->get_array_elements()) { | ^~~~~~ | & [ 73%] Built target ceph_scratchtool In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/osdc/ObjectCacher.h:17, from /builddir/build/BUILD/dsms-storage/src/client/Client.h:37: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 73%] Building CXX object src/tools/CMakeFiles/ceph_scratchtoolpp.dir/scratchtoolpp.cc.o [ 73%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/mgr_commands.cc.o [ 73%] Built target librados-config [ 73%] Building CXX object src/libradosstriper/CMakeFiles/radosstriper.dir/RadosStriperImpl.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/test/libcephfs/test.cc:18: /builddir/build/BUILD/dsms-storage/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/memory:63, from /builddir/build/BUILD/dsms-storage/src/googletest/googletest/include/gtest/gtest.h:57, from /builddir/build/BUILD/dsms-storage/src/test/libcephfs/test.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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 73%] Building CXX object src/tools/CMakeFiles/ceph_radosacl.dir/radosacl.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 73%] Built target unittest_rgw_dmclock_scheduler [ 73%] Building CXX object src/libradosstriper/CMakeFiles/radosstriper.dir/MultiAioCompletionImpl.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 73%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_period_pusher.cc.o [ 73%] Building CXX object src/tools/CMakeFiles/ceph-dedup-tool.dir/ceph_dedup_tool.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 73%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-journal-tool.dir/cephfs-journal-tool.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/libradosstriper/RadosStriperImpl.h:21, from /builddir/build/BUILD/dsms-storage/src/libradosstriper/libradosstriper.cc:17: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/osdc/ObjectCacher.h:17, from /builddir/build/BUILD/dsms-storage/src/client/Client.h:37: /builddir/build/BUILD/dsms-storage/src/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/osdc/ObjectCacher.h:17, from /builddir/build/BUILD/dsms-storage/src/client/Client.h:37: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/ceph_mon.cc:22: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 73%] Linking CXX executable ../../../bin/unittest_bluefs /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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] [ 73%] Built target ceph_test_filestore /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 73%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-table-tool.dir/cephfs-table-tool.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/mgr/DaemonState.h:26, from /builddir/build/BUILD/dsms-storage/src/mgr/DaemonState.cc:14: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/btree_map.h:10, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:34: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/health.h:9, from /builddir/build/BUILD/dsms-storage/src/mon/PGMap.h:24: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/messages/MMgrReport.h:155:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 73%] Linking CXX executable ../../../bin/ceph_test_filestore_idempotent /builddir/build/BUILD/dsms-storage/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 73%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-table-tool.dir/TableTool.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of '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/src/include/denc.h:1554:23: required from '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/src/mon/PGMap.cc:80:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/src/mon/PGMap.cc:1528:9: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/messages/MMgrReport.h:155:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 73%] Built target unittest_bluefs /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage/src/mgr/OSDPerfMetricCollector.cc:4: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 73%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-data-scan.dir/cephfs-data-scan.cc.o [ 73%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-data-scan.dir/DataScan.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/osdc/ObjectCacher.h:17, from /builddir/build/BUILD/dsms-storage/src/client/Inode.h:16: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/mgr/ActivePyModules.h:23, from /builddir/build/BUILD/dsms-storage/src/mgr/PyModuleRegistry.h:27, from /builddir/build/BUILD/dsms-storage/src/mgr/DaemonServer.h:17, from /builddir/build/BUILD/dsms-storage/src/mgr/Mgr.h:27: /builddir/build/BUILD/dsms-storage/src/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage/src/mgr/MetricCollector.cc:4: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/messages/MMgrReport.h:155:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 73%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-data-scan.dir/RoleSelector.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/src/mon/PGMap.cc:72:9: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/PGMap.cc:78:9: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required from '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/src/mon/PGMap.cc:80:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:25:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/messages/MMgrReport.h:155:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 73%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-data-scan.dir/PgFiles.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 73%] Linking CXX executable ../../../bin/ceph_test_keyvaluedb_iterators /builddir/build/BUILD/dsms-storage/src/test/fs/test_ino_release_cb.cc: In function 'int main(int, char**)': /builddir/build/BUILD/dsms-storage/src/test/fs/test_ino_release_cb.cc:25:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 25 | int ret = ceph_mount(cmount, NULL); | ^~~ [ 73%] Linking CXX executable ../../../bin/unittest_memstore_clone /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 73%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-data-scan.dir/MDSUtility.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/PGMap.cc:1528:9: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 73%] Linking CXX executable ../../../bin/ceph_test_object_map /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:25:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/mgr/Mgr.cc:16: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/client/Client.h:29, from /builddir/build/BUILD/dsms-storage/src/mgr/ActivePyModules.h:24, from /builddir/build/BUILD/dsms-storage/src/mgr/PyModuleRegistry.h:27, from /builddir/build/BUILD/dsms-storage/src/mgr/ActivePyModules.cc:29: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 73%] Linking CXX executable ../../../bin/unittest_lfnindex /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/mgr/ActivePyModules.h:23, from /builddir/build/BUILD/dsms-storage/src/mgr/PyModuleRegistry.h:27, from /builddir/build/BUILD/dsms-storage/src/mgr/DaemonServer.h:17, from /builddir/build/BUILD/dsms-storage/src/mgr/DaemonServer.cc:14: /builddir/build/BUILD/dsms-storage/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/src/mgr/PyModule.h:16, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 73%] Built target ceph_test_keyvaluedb [ 73%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd-mirror.dir/main.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_client_io.h:17, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_client_io.cc:8: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/tools/radosacl.cc:20: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/tools/radosacl.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/src/tools/scratchtoolpp.cc:16: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/tools/scratchtoolpp.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/src/libradosstriper/RadosStriperImpl.h:21, from /builddir/build/BUILD/dsms-storage/src/libradosstriper/RadosStriperImpl.cc:17: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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 | ^~~~~~~~ [ 73%] Building CXX object src/tools/immutable_object_cache/CMakeFiles/ceph-immutable-object-cache.dir/main.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_auth_keystone.cc:17: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/librados/IoCtxImpl.h:27, from /builddir/build/BUILD/dsms-storage/src/libradosstriper/RadosStriperImpl.h:26: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_request.h:7, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_frontend.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_frontend.cc:6: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 73%] Built target unittest_lfnindex [ 73%] Built target get_command_descriptions [ 73%] Building CXX object src/test/CMakeFiles/ceph_test_mutate.dir/test_mutate.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/librados/IoCtxImpl.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:20, from /builddir/build/BUILD/dsms-storage/src/mgr/PyModule.h:24, from /builddir/build/BUILD/dsms-storage/src/mgr/PyModuleRunner.cc:18: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 73%] Building CXX object src/test/CMakeFiles/ceph_omapbench.dir/omap_bench.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MMgrBeacon.h:18, from /builddir/build/BUILD/dsms-storage/src/mgr/MgrStandby.cc:27: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 73%] Building CXX object src/test/CMakeFiles/ceph_kvstorebench.dir/kv_store_bench.cc.o [ 73%] Linking CXX executable ../../../bin/ceph_test_filestore_idempotent_sequence In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/tools/ceph_dedup_tool.cc:17: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/tools/ceph_dedup_tool.cc:14: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 73%] Linking CXX executable ../../bin/ceph_radosacl [ 74%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-table-tool.dir/RoleSelector.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage/src/common/config.h:22, from /builddir/build/BUILD/dsms-storage/src/ceph_syn.cc:19: /builddir/build/BUILD/dsms-storage/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/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_realm_watcher.h:7, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_realm_reloader.h:7, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_period_pusher.h:11, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_period_pusher.cc:7: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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 | ^~~~~~~~ [ 74%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-table-tool.dir/MDSUtility.cc.o [ 74%] Linking CXX executable ../../bin/ceph-monstore-tool [ 74%] Linking CXX executable ../../bin/ceph_scratchtoolpp In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_request.h:7, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_frontend.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_http_client_curl.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_http_client_curl.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_client_io.h:17, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_loadgen.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_loadgen.cc:8: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Built target ceph_radosacl [ 74%] Linking CXX executable ../../../bin/ceph_test_ino_release_cb [ 74%] Building CXX object src/test/CMakeFiles/test_rgw_ldap.dir/__/rgw/rgw_ldap.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/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/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required from '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/src/mon/PGMap.cc:80:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/radosstriper/libradosstriper.hpp:8, from /builddir/build/BUILD/dsms-storage/src/libradosstriper/MultiAioCompletionImpl.h:21, from /builddir/build/BUILD/dsms-storage/src/libradosstriper/MultiAioCompletionImpl.cc:17: /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 74%] Building CXX object src/test/CMakeFiles/test_rgw_ldap.dir/test_rgw_ldap.cc.o [ 74%] Built target ceph_scratchtoolpp In file included from /builddir/build/BUILD/dsms-storage/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/client/fuse_ll.cc:30: /builddir/build/BUILD/dsms-storage/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/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage/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/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/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage/src/common/config.h:22, from /builddir/build/BUILD/dsms-storage/src/ceph_fuse.cc:20: /builddir/build/BUILD/dsms-storage/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/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 74%] Building CXX object src/test/CMakeFiles/ceph_multi_stress_watch.dir/multi_stress_watch.cc.o [ 74%] Built target unittest_mds_sessionfilter [ 74%] Building CXX object src/test/CMakeFiles/ceph_test_stress_watch.dir/test_stress_watch.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Built target ceph_test_ino_release_cb In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_bucket.h:11, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_log.cc:10: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 74%] Building C object src/test/CMakeFiles/test_c_headers.dir/test_c_headers.c.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/test/cls_hello/CMakeFiles/ceph_test_cls_hello.dir/test_cls_hello.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/MDSMap.h:37, from /builddir/build/BUILD/dsms-storage/src/mds/FSMap.h:29, from /builddir/build/BUILD/dsms-storage/src/mgr/Mgr.h:20, from /builddir/build/BUILD/dsms-storage/src/mgr/PyOSDMap.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 74%] Linking C executable ../../bin/test_c_headers /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/mgr/ActivePyModules.h:23, from /builddir/build/BUILD/dsms-storage/src/mgr/PyModuleRegistry.h:27, from /builddir/build/BUILD/dsms-storage/src/mgr/PyModuleRegistry.cc:14: /builddir/build/BUILD/dsms-storage/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/src/mgr/PyModule.h:16, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage/src/librbd/librbd.cc:27: /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Linking CXX executable ../../../bin/unittest_interval_set In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 74%] Built target test_c_headers [ 74%] Building CXX object src/test/CMakeFiles/ceph_kvstorebench.dir/__/key_value_store/kv_flat_btree_async.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/test/multi_stress_watch.cc:3: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/test/omap_bench.cc:14: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ReadResult.h:12, from /builddir/build/BUILD/dsms-storage/src/librbd/io/AioCompletion.h:15, from /builddir/build/BUILD/dsms-storage/src/librbd/librbd.cc:42: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 74%] Built target unittest_interval_set /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 74%] Building CXX object src/test/cls_lock/CMakeFiles/ceph_test_cls_lock.dir/test_cls_lock.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/client/Client.h:29, from /builddir/build/BUILD/dsms-storage/src/mgr/Mgr.cc:17: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: 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/test/cls_log/CMakeFiles/ceph_test_cls_log.dir/test_cls_log.cc.o creating /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/lib.3 [ 74%] Linking CXX executable ../../../bin/unittest_fastbmap_allocator /usr/bin/gcc -shared -L/builddir/build/BUILD/dsms-storage/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-aarch64-cpython-310/builddir/build/BUILD/dsms-storage/build/src/pybind/cephfs/cephfs.o -L/usr/lib64 -L/usr/lib64/python3.10/config-3.10-aarch64-linux-gnu -L/usr/lib64 -lcephfs -lcrypt -ldl -lm -lm -lpython3.10 -o /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/lib.3/cephfs.cpython-310-aarch64-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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/tools/ceph_dedup_tool.cc:25: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/librados/IoCtxImpl.h:27, from /builddir/build/BUILD/dsms-storage/src/libradosstriper/RadosStriperImpl.h:26: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/librados/IoCtxImpl.h:28: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/tools/RadosDump.h:23, from /builddir/build/BUILD/dsms-storage/src/tools/ceph_dedup_tool.cc:44: /builddir/build/BUILD/dsms-storage/src/include/interval_set.h: At global scope: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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 executable ../../bin/ceph_multi_stress_watch /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 74%] Linking CXX executable ../../../bin/ceph_test_msgr /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/client/Client.h:29, from /builddir/build/BUILD/dsms-storage/src/mgr/ActivePyModules.h:24: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-journal-tool.dir/JournalTool.cc.o [ 74%] Built target ceph_multi_stress_watch [ 74%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-journal-tool.dir/JournalFilter.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/mgr/MgrContext.h:19, from /builddir/build/BUILD/dsms-storage/src/mgr/PyModule.cc:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Linking CXX executable ../../../bin/ceph_test_objectcacher_stress /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage/src/common/config.h:22, from /builddir/build/BUILD/dsms-storage/src/client/SyntheticClient.cc:21: /builddir/build/BUILD/dsms-storage/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/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/key_value_store/key_value_structure.h:17, from /builddir/build/BUILD/dsms-storage/src/test/kv_store_bench.h:17, from /builddir/build/BUILD/dsms-storage/src/test/kv_store_bench.cc:8: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 74%] Built target cython_cephfs [ 74%] Built target unittest_fastbmap_allocator [ 74%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-journal-tool.dir/JournalScanner.cc.o [ 74%] Building CXX object src/test/cls_numops/CMakeFiles/ceph_test_cls_numops.dir/test_cls_numops.cc.o [ 74%] Built target ceph_test_keyvaluedb_iterators /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 74%] Building CXX object src/test/cls_sdk/CMakeFiles/ceph_test_cls_sdk.dir/test_cls_sdk.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/test/cls_hello/test_cls_hello.cc:19: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/test/cls_hello/test_cls_hello.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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 74%] Built target ceph_test_msgr [ 74%] Built target ceph_test_object_map /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 74%] Building CXX object src/test/cls_journal/CMakeFiles/ceph_test_cls_journal.dir/test_cls_journal.cc.o [ 74%] Building CXX object src/test/cls_rbd/CMakeFiles/ceph_test_cls_rbd.dir/test_cls_rbd.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Building CXX object src/test/cls_refcount/CMakeFiles/ceph_test_cls_refcount.dir/test_cls_refcount.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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 | ^~~~~~~~ [ 74%] Building CXX object src/test/cls_rgw/CMakeFiles/ceph_test_cls_rgw.dir/test_cls_rgw.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/test/test_stress_watch.cc:2: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 74%] Built target ceph_test_objectcacher_stress /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Linking CXX executable ../../../bin/unittest_erasure_code_shec [ 74%] Building CXX object src/test/cls_version/CMakeFiles/ceph_test_cls_version.dir/test_cls_version.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 74%] Linking CXX executable ../../../bin/ceph_test_mon_workloadgen /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/librados/test_cxx.h:5, from /builddir/build/BUILD/dsms-storage/src/test/cls_sdk/test_cls_sdk.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/test/cls_sdk/test_cls_sdk.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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage/src/common/Cond.h:19, from /builddir/build/BUILD/dsms-storage/src/librados/IoCtxImpl.h:20: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/cls_numops/test_cls_numops.cc:23: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/test/cls_numops/test_cls_numops.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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Built target unittest_erasure_code_shec /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 74%] Building CXX object src/test/cls_lua/CMakeFiles/ceph_test_cls_lua.dir/test_cls_lua.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/key_value_store/key_value_structure.h:17, from /builddir/build/BUILD/dsms-storage/src/key_value_store/kv_flat_btree_async.cc:15: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/ceph_mgr.cc:21: /builddir/build/BUILD/dsms-storage/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/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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 | ^~~~~~~~ [ 74%] Built target ceph_test_filestore_idempotent /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 74%] Building CXX object src/test/cls_rgw_gc/CMakeFiles/ceph_test_cls_rgw_gc.dir/test_cls_rgw_gc.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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 | ^~~~~~~~ [ 74%] Building CXX object src/test/cls_queue/CMakeFiles/ceph_test_cls_queue.dir/test_cls_queue.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/MDSUtility.h:17, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/JournalTool.h:14, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/cephfs-journal-tool.cc:21: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/mgr/ActivePyModules.h:23, from /builddir/build/BUILD/dsms-storage/src/mgr/PyModuleRegistry.h:27, from /builddir/build/BUILD/dsms-storage/src/mgr/StandbyPyModules.cc:28: /builddir/build/BUILD/dsms-storage/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/src/mgr/StandbyPyModules.h:16, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_coroutine.h:26, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cr_rest.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_period_pusher.cc:8: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 74%] Built target ceph_test_mon_workloadgen In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/test/common/CMakeFiles/unittest_global_doublefree.dir/test_global_doublefree.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/utime.h:18, from /builddir/build/BUILD/dsms-storage/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 74%] Linking CXX executable ../../../bin/unittest_global_doublefree In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/PgFiles.cc:16: /builddir/build/BUILD/dsms-storage/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/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 ceph-monstore-tool [ 75%] Building CXX object src/test/journal/CMakeFiles/unittest_journal.dir/test_main.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/client/Client.h:29, from /builddir/build/BUILD/dsms-storage/src/mgr/ActivePyModules.h:24: /builddir/build/BUILD/dsms-storage/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/src/mds/SessionMap.h:23, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/TableTool.cc:18: /builddir/build/BUILD/dsms-storage/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/src/common/ceph_argparse.h:26, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/SessionMap.h:25: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/mds/CInode.h:27, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/DataScan.cc:22: /builddir/build/BUILD/dsms-storage/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/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/tools/rbd_mirror/Mirror.h:9, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/main.cc:11: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/ceph_argparse.h:26, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 75%] Building CXX object src/test/journal/CMakeFiles/unittest_journal.dir/test_Entry.cc.o [ 75%] Built target unittest_memstore_clone In file included from /builddir/build/BUILD/dsms-storage/src/test/test_mutate.cc:23: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/ceph_argparse.h:26, from /builddir/build/BUILD/dsms-storage/src/test/test_mutate.cc:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 75%] Building CXX object src/test/libcephfs/CMakeFiles/ceph_test_libcephfs_lazyio.dir/lazyio.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 75%] Built target unittest_global_doublefree In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/MDSUtility.h:17, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/TableTool.h:15, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/cephfs-table-tool.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public 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 src/test/libcephfs/CMakeFiles/ceph_test_libcephfs_access.dir/test.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/RoleSelector.h:7, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/RoleSelector.cc:2: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 75%] Linking CXX executable ../../../bin/ceph_test_cls_sdk In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/cls_lock/test_cls_lock.cc:21: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/test/cls_lock/test_cls_lock.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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/FSMap.h:27: /builddir/build/BUILD/dsms-storage/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/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/mgr/ActivePyModules.h:23, from /builddir/build/BUILD/dsms-storage/src/mgr/PyModuleRegistry.h:27, from /builddir/build/BUILD/dsms-storage/src/mgr/DaemonServer.h:17, from /builddir/build/BUILD/dsms-storage/src/mgr/Mgr.h:27: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage/src/mds/MDSCacheObject.h:15, from /builddir/build/BUILD/dsms-storage/src/mds/CInode.h:30: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 75%] Built target ceph_test_cls_sdk /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/librados/test_cxx.h:5, from /builddir/build/BUILD/dsms-storage/src/test/cls_log/test_cls_log.cc:13: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/test/cls_log/test_cls_log.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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 75%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_cmd.dir/cmd.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/stringify.h:7, from /builddir/build/BUILD/dsms-storage/src/mgr/ActivePyModules.cc:18: /builddir/build/BUILD/dsms-storage/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/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/msg/Message.h:24: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/MDSUtility.h:17, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/DataScan.h:16, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/cephfs-data-scan.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/test/librados/CMakeFiles/ceph_test_rados_api_cmd_pp.dir/cmd_cxx.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage/src/key_value_store/key_value_structure.h:18: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/key_value_store/kv_flat_btree_async.h:181:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/rgw/rgw_ldap.cc:6: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/test/cls_version/test_cls_version.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/key_value_store/kv_flat_btree_async.h:181:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/MDSUtility.h:17, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/MDSUtility.cc:14: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MPGStats.h:56:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 76%] Built target ceph_test_filestore_idempotent_sequence [ 76%] Building CXX object src/test/libcephfs/CMakeFiles/ceph_test_libcephfs_access.dir/access.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage/src/common/Cond.h:19, from /builddir/build/BUILD/dsms-storage/src/librados/IoCtxImpl.h:20: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/test/librados/test_cxx.h:5, from /builddir/build/BUILD/dsms-storage/src/test/cls_refcount/test_cls_refcount.cc:8: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/test/cls_refcount/test_cls_refcount.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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/cls/rgw/cls_rgw_client.h:8, from /builddir/build/BUILD/dsms-storage/src/test/cls_rgw/test_cls_rgw.cc:5: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/test/cls_rgw/test_cls_rgw.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 76%] Linking CXX executable ../../bin/ceph_test_mutate In file included from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/RoleSelector.h:7, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/RoleSelector.cc:2: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 /builddir/build/BUILD/dsms-storage/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage/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/src/tools/immutable_object_cache/ObjectCacheStore.h:9, from /builddir/build/BUILD/dsms-storage/src/tools/immutable_object_cache/CacheController.h:10, from /builddir/build/BUILD/dsms-storage/src/tools/immutable_object_cache/main.cc:10: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/ceph_argparse.h:26, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/tools/immutable_object_cache/SimplePolicy.h:9, from /builddir/build/BUILD/dsms-storage/src/tools/immutable_object_cache/ObjectCacheStore.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Built target ceph_test_mutate [ 76%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-journal-tool.dir/EventOutput.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/tools/cephfs/JournalScanner.cc:15: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/test/cls_lua/test_cls_lua.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/test/cls_lua/test_cls_lua.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/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MPGStats.h:56:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 76%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-journal-tool.dir/Dumper.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/cls/queue/cls_queue_client.h:4, from /builddir/build/BUILD/dsms-storage/src/test/cls_queue/test_cls_queue.cc:7: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/test/cls_queue/test_cls_queue.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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/MDSMap.h:37, from /builddir/build/BUILD/dsms-storage/src/mds/FSMap.h:29, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/MDSUtility.h:18: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 76%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_io.dir/io.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/cls/rgw_gc/cls_rgw_gc_client.h:4, from /builddir/build/BUILD/dsms-storage/src/test/cls_rgw_gc/test_cls_rgw_gc.cc:7: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/test/cls_rgw_gc/test_cls_rgw_gc.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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage/src/key_value_store/key_value_structure.h:18: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/key_value_store/kv_flat_btree_async.h:181:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/test/librados/cmd.cc:5: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/key_value_store/kv_flat_btree_async.h:181:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/MDSUtility.h:17, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/MDSUtility.cc:14: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 76%] Linking CXX executable ../../bin/ceph_test_stress_watch In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/ceph_mds.cc:27: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/test/journal/CMakeFiles/unittest_journal.dir/test_FutureImpl.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_frontend.h:11: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/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/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/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/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/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/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage/src/test/cls_rbd/test_cls_rbd.cc:19: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/common/ceph_context.h:19, from /builddir/build/BUILD/dsms-storage/src/test/cls_rbd/test_cls_rbd.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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Linking CXX executable ../../../bin/rbd-mirror [ 76%] Linking CXX executable ../../bin/ceph_omapbench /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/journal/test_main.cc:6: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/MDSMap.h:37, from /builddir/build/BUILD/dsms-storage/src/mds/FSMap.h:29, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/MDSUtility.h:18: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 76%] Built target ceph_test_stress_watch /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 76%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_io_pp.dir/io_cxx.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 76%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_c_write_operations.dir/c_write_operations.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:14: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 76%] Built target ceph_omapbench [ 76%] Building CXX object src/test/journal/CMakeFiles/unittest_journal.dir/test_Journaler.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/librados/test_cxx.h:5, from /builddir/build/BUILD/dsms-storage/src/test/cls_journal/test_cls_journal.cc:7: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/cls/journal/cls_journal_types.h:9, from /builddir/build/BUILD/dsms-storage/src/cls/journal/cls_journal_client.h:8, from /builddir/build/BUILD/dsms-storage/src/test/cls_journal/test_cls_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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/client/Client.h:29, from /builddir/build/BUILD/dsms-storage/src/mgr/ActivePyModules.h:24: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/test/librados/cmd_cxx.cc:12: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/test/librados/cmd_cxx.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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage/src/common/config.h:22: /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_client_io.h:16: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:19: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 76%] Building CXX object src/test/journal/CMakeFiles/unittest_journal.dir/test_JournalMetadata.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 76%] Linking CXX executable ../../../bin/ceph_test_cls_hello /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_frontend.h:11: /builddir/build/BUILD/dsms-storage/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/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/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/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/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/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_auth_keystone.cc:13: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Linking CXX executable ../bin/ceph-fuse /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Linking CXX executable ../../bin/ceph-client-debug /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Built target ceph_test_cls_hello In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage/src/common/Cond.h:19, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_realm_watcher.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/MDSMap.h:37, from /builddir/build/BUILD/dsms-storage/src/mds/FSMap.h:29, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/MDSUtility.h:18: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 77%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_c_read_operations.dir/c_read_operations.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/mgr/DaemonServer.cc: In lambda function: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_aio.dir/aio.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_aio_pp.dir/aio_cxx.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/JournalFilter.h:18, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/JournalFilter.cc:15: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/MDSMap.h:37, from /builddir/build/BUILD/dsms-storage/src/mds/FSMap.h:29, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/MDSUtility.h:18: /builddir/build/BUILD/dsms-storage/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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/JournalPointer.h:20, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/JournalScanner.cc:16: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/test/librados/io_cxx.cc:9: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/googletest/googletest/include/gtest/gtest.h:57, from /builddir/build/BUILD/dsms-storage/src/test/librados/io_cxx.cc:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 77%] Linking CXX executable ../../../bin/ceph-immutable-object-cache /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osdc/Objecter.h:28: /builddir/build/BUILD/dsms-storage/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/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MRemoveSnaps.h:18, from /builddir/build/BUILD/dsms-storage/src/mds/SnapServer.h:21, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/TableTool.cc:20: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Linking CXX executable ../../../bin/ceph_test_cls_numops /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Linking CXX executable ../../bin/test_rgw_ldap /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Linking CXX executable ../bin/ceph-mon /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_client_io.h:16: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:14: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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%] Linking CXX executable ../../../bin/ceph_test_libcephfs_lazyio /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Built target ceph_test_cls_numops In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/osdc/Journaler.h:63, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/JournalTool.cc:19: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/test/librados/CMakeFiles/ceph_test_rados_api_asio.dir/asio.cc.o [ 77%] Built target test_rgw_ldap In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Linking CXX executable ../../../bin/ceph_test_cls_log /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_list.dir/list.cc.o [ 77%] Built target ceph-immutable-object-cache In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MRemoveSnaps.h:18, from /builddir/build/BUILD/dsms-storage/src/mds/SnapServer.h:21, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/DataScan.cc:24: /builddir/build/BUILD/dsms-storage/src/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_pool.dir/pool.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/mgr/PyModuleRegistry.cc: In member function 'void PyModuleRegistry::init()': /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Built target ceph-fuse /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Built target ceph-client-debug [ 77%] Built target ceph_test_libcephfs_lazyio [ 77%] Building CXX object src/test/journal/CMakeFiles/unittest_journal.dir/test_JournalPlayer.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_stat.dir/stat.cc.o [ 77%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_stat_pp.dir/stat_cxx.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:20, from /builddir/build/BUILD/dsms-storage/src/mgr/PyModule.h:24: /builddir/build/BUILD/dsms-storage/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/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:31: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Built target ceph_test_cls_log [ 77%] Building CXX object src/test/journal/CMakeFiles/unittest_journal.dir/test_JournalRecorder.cc.o [ 77%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_watch_notify.dir/watch_notify.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_watch_notify_pp.dir/watch_notify_cxx.cc.o [ 77%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_cls.dir/cls.cc.o /builddir/build/BUILD/dsms-storage/src/test/librados/io.cc: In member function 'virtual void LibRadosIo_TooBig_Test::TestBody()': /builddir/build/BUILD/dsms-storage/src/test/librados/io.cc:31:32: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 31 | ASSERT_EQ(-E2BIG, rados_write(ioctx, "A", buf, UINT_MAX, 0)); | ^ In file included from /builddir/build/BUILD/dsms-storage/src/test/librados/io.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.h:1488:20: note: by argument 3 of type 'const char*' to 'int rados_write(rados_ioctx_t, const char*, const char*, size_t, uint64_t)' declared here 1488 | CEPH_RADOS_API int rados_write(rados_ioctx_t io, const char *oid, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/test/librados/io.cc:30:8: note: 'buf' declared here 30 | char buf[1]; | ^~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/stringify.h:7, from /builddir/build/BUILD/dsms-storage/src/mgr/MgrStandby.cc:20: /builddir/build/BUILD/dsms-storage/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/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/MDSMap.h:37, from /builddir/build/BUILD/dsms-storage/src/mds/FSMap.h:29, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/MDSUtility.h:18: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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%] Linking CXX executable ../../../bin/ceph_test_cls_refcount /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/test/librados/stat_cxx.cc:3: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/googletest/googletest/include/gtest/gtest.h:57, from /builddir/build/BUILD/dsms-storage/src/test/librados/stat_cxx.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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:20, from /builddir/build/BUILD/dsms-storage/src/mgr/PyModule.h:24: /builddir/build/BUILD/dsms-storage/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/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/librados/cls.cc:8: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/test/librados/cls.cc:2: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 77%] Built target ceph_test_cls_refcount /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Linking CXX executable ../../../bin/ceph_test_cls_lock [ 77%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_misc.dir/misc.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/test/libcephfs/test.cc:18: /builddir/build/BUILD/dsms-storage/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/memory:63, from /builddir/build/BUILD/dsms-storage/src/googletest/googletest/include/gtest/gtest.h:57, from /builddir/build/BUILD/dsms-storage/src/test/libcephfs/test.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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Linking CXX executable ../../../bin/ceph_test_rados_api_c_write_operations [ 77%] Linking CXX executable ../../../bin/ceph_test_rados_api_cmd_pp In file included from /builddir/build/BUILD/dsms-storage/src/test/librados/aio_cxx.cc:12: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/test/librados/aio_cxx.cc:3: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 77%] Linking CXX executable ../../../bin/ceph_test_rados_api_cmd In file included from /builddir/build/BUILD/dsms-storage/src/test/librados/watch_notify_cxx.cc:10: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/test/librados/watch_notify_cxx.cc:4: /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/test/librados/CMakeFiles/ceph_test_rados_api_misc_pp.dir/misc_cxx.cc.o [ 77%] Linking CXX executable ../../../bin/ceph_test_cls_version In file included from /builddir/build/BUILD/dsms-storage/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/FSMap.h:27: /builddir/build/BUILD/dsms-storage/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/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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%] Built target ceph_test_cls_lock [ 77%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_lock.dir/lock.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/test/librados/list.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Built target ceph_test_rados_api_cmd [ 77%] Built target ceph_test_rados_api_c_write_operations [ 77%] Building CXX object src/test/journal/CMakeFiles/unittest_journal.dir/test_JournalTrimmer.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Building CXX object src/test/journal/CMakeFiles/unittest_journal.dir/test_ObjectPlayer.cc.o [ 77%] Built target ceph_test_cls_version [ 77%] Linking CXX executable ../../../bin/ceph_test_rados_api_cls [ 77%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_lock_pp.dir/lock_cxx.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Built target ceph_test_rados_api_cmd_pp /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_service.dir/service.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Linking CXX executable ../../../bin/ceph_test_cls_queue /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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%] Built target ceph_test_rados_api_cls In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/test/librados/CMakeFiles/ceph_test_rados_api_service_pp.dir/service_cxx.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:31: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_tier_pp.dir/tier_cxx.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Linking CXX executable ../../../bin/ceph_test_rados_api_stat /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Built target ceph_test_cls_queue [ 77%] Building CXX object src/test/journal/CMakeFiles/unittest_journal.dir/test_ObjectRecorder.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Linking CXX executable ../../../bin/ceph_test_rados_api_io /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/osdc/Journaler.h:63, from /builddir/build/BUILD/dsms-storage/src/mds/PurgeQueue.h:20, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/JournalFilter.h:20: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/librados_asio.h:17, from /builddir/build/BUILD/dsms-storage/src/test/librados/asio.cc:14: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/JournalTool.cc:20: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Built target ceph_test_rados_api_stat /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage/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/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/src/mds/events/../SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/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/src/journal/JournalMetadata.h:9, from /builddir/build/BUILD/dsms-storage/src/test/journal/RadosTestFixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/journal/test_FutureImpl.cc:7: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage/src/common/RefCountedObj.h:18, from /builddir/build/BUILD/dsms-storage/src/journal/FutureImpl.h:8, from /builddir/build/BUILD/dsms-storage/src/test/journal/test_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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 77%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_snapshots.dir/snapshots.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrConfigure.h:61:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Built target ceph_test_rados_api_io /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MPGStats.h:56:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Building CXX object src/test/journal/CMakeFiles/unittest_journal.dir/RadosTestFixture.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Linking CXX executable ../../bin/ceph-dedup-tool /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/EventOutput.cc:19: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/Dumper.cc:24: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/fs_types.h:6, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_realm_reloader.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/journal/Journaler.h:10, from /builddir/build/BUILD/dsms-storage/src/test/journal/test_Journaler.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/stringify.h:4, from /builddir/build/BUILD/dsms-storage/src/test/journal/test_Journaler.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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/tools/cephfs/DataScan.cc: In member function 'int DataScan::scan_links()': /builddir/build/BUILD/dsms-storage/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/src/include/buffer.h:43, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:38, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Built target ceph-dedup-tool In file included from /builddir/build/BUILD/dsms-storage/src/journal/JournalMetadata.h:9, from /builddir/build/BUILD/dsms-storage/src/test/journal/test_JournalMetadata.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 77%] Linking CXX executable ../../../bin/ceph_test_rados_api_stat_pp /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/msg/Message.h:24, from /builddir/build/BUILD/dsms-storage/src/msg/Messenger.h:27, from /builddir/build/BUILD/dsms-storage/src/mon/MonClient.h:25, from /builddir/build/BUILD/dsms-storage/src/mgr/StandbyPyModules.h:25: /builddir/build/BUILD/dsms-storage/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/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ [ 77%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_snapshots_pp.dir/snapshots_cxx.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/cls_lua/test_cls_lua.cc: In member function 'virtual void ClsLua_Stat_Test::TestBody()': /builddir/build/BUILD/dsms-storage/src/test/cls_lua/test_cls_lua.cc:683:12: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 683 | bl.append(buf, sizeof(buf)); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:38: /builddir/build/BUILD/dsms-storage/src/include/buffer.h:1132:10: note: by argument 2 of type 'const char*' to 'void ceph::buffer::v15_2_0::list::append(const char*, unsigned int)' declared here 1132 | void append(const char *data, unsigned len); | ^~~~~~ /builddir/build/BUILD/dsms-storage/src/test/cls_lua/test_cls_lua.cc:681:8: note: 'buf' declared here 681 | char buf[1024]; | ^~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrConfigure.h:61:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Built target ceph_test_rados_api_stat_pp /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-journal-tool.dir/Resetter.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MPGStats.h:56:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:31: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Linking CXX executable ../../../bin/ceph_test_rados_api_pool /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::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/src/test/librados/service.cc:2: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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%] Linking CXX executable ../../../bin/ceph_test_cls_rgw_gc /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/librados/lock_cxx.cc:8: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/test/librados/lock_cxx.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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/journal/JournalTrimmer.h:8, from /builddir/build/BUILD/dsms-storage/src/test/journal/test_JournalTrimmer.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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%] Built target ceph_test_rados_api_pool [ 77%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-journal-tool.dir/RoleSelector.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/librados/snapshots_cxx.cc:8: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/test/librados/snapshots_cxx.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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/cls_lua/test_cls_lua.cc: In member function 'virtual void ClsLua_WriteFull_Test::TestBody()': /builddir/build/BUILD/dsms-storage/src/test/cls_lua/test_cls_lua.cc:891:14: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 891 | blin.append(buf, sizeof(buf)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/buffer.h:1132:10: note: by argument 2 of type 'const char*' to 'void ceph::buffer::v15_2_0::list::append(const char*, unsigned int)' declared here 1132 | void append(const char *data, unsigned len); | ^~~~~~ /builddir/build/BUILD/dsms-storage/src/test/cls_lua/test_cls_lua.cc:889:8: note: 'buf' declared here 889 | char buf[1024]; | ^~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mds/SnapServer.h:87:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Built target ceph_test_cls_rgw_gc /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-journal-tool.dir/MDSUtility.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Building CXX object src/test/librados/CMakeFiles/unittest_librados.dir/librados.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 77%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_realm_watcher.cc.o [ 77%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_os_lib.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/librados/service_cxx.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/test/librados/service_cxx.cc:1: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 77%] Linking CXX shared library ../../lib/libradosstriper.so /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/journal/JournalPlayer.h:9, from /builddir/build/BUILD/dsms-storage/src/test/journal/test_JournalPlayer.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/journal/JournalPlayer.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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/journal/JournalRecorder.h:9, from /builddir/build/BUILD/dsms-storage/src/test/journal/test_JournalRecorder.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/journal/ObjectPlayer.h:8, from /builddir/build/BUILD/dsms-storage/src/journal/JournalPlayer.h:12: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 78%] Linking CXX executable ../../../bin/ceph_test_cls_lua /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 78%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_process.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/test/librados/test_cxx.h:5, from /builddir/build/BUILD/dsms-storage/src/test/journal/RadosTestFixture.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mds/SnapServer.h:87:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mds/SnapServer.h:89:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage/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/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/src/mds/InoTable.h:82:17: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ [ 78%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_rest_bucket.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 78%] Linking CXX executable ../../../bin/ceph_test_rados_api_c_read_operations /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 78%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_rest_config.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mds/SnapServer.h:87:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 78%] Linking CXX executable ../../../bin/unittest_librados [ 78%] Built target radosstriper /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 78%] Built target ceph-mon [ 78%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_rest_log.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 79%] Building CXX object src/test/librados/CMakeFiles/unittest_librados_config.dir/librados_config.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/events/../CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 79%] Built target unittest_librados In file included from /builddir/build/BUILD/dsms-storage/src/test/librados/misc_cxx.cc:15: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/test/librados/misc_cxx.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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 79%] Built target ceph_test_rados_api_c_read_operations [ 79%] Building CXX object src/test/libradosstriper/CMakeFiles/ceph_test_rados_striper_api_io.dir/io.cc.o [ 79%] Built target ceph_test_cls_lua [ 79%] Building CXX object src/test/libradosstriper/CMakeFiles/ceph_test_rados_striper_api_striping.dir/striping.cc.o [ 79%] Building CXX object src/test/libradosstriper/CMakeFiles/ceph_test_rados_striper_api_aio.dir/aio.cc.o [ 79%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_rest_metadata.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/osdc/Journaler.h:63, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/Dumper.cc:27: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/journal/ObjectPlayer.h:8, from /builddir/build/BUILD/dsms-storage/src/test/journal/test_ObjectPlayer.cc:4: /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/journal/ObjectPlayer.h:9: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_realm_watcher.h:7, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_realm_reloader.h:7, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_realm_reloader.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/rgw/CMakeFiles/rgw_a.dir/rgw_rest_realm.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 79%] Linking CXX executable ../../../bin/ceph_test_rados_api_snapshots /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mds/SnapServer.h:87:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mds/SnapServer.h:89:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/libradosstriper/io.cc:2: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 79%] Linking CXX executable ../../../bin/ceph_test_rados_api_watch_notify /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/libradosstriper/aio.cc:2: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/test/librados/misc.cc:5: /builddir/build/BUILD/dsms-storage/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/memory:63, from /builddir/build/BUILD/dsms-storage/src/googletest/googletest/include/gtest/gtest.h:57, from /builddir/build/BUILD/dsms-storage/src/test/librados/misc.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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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%] Built target ceph_test_rados_api_snapshots [ 80%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_rest_swift.cc.o [ 80%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_rest_usage.cc.o [ 80%] Linking CXX executable ../../../bin/ceph_test_rados_api_watch_notify_pp [ 80%] Building CXX object src/test/librbd/CMakeFiles/rbd_test.dir/test_fixture.cc.o [ 80%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_rest_user.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_realm_watcher.h:7, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_realm_watcher.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage/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/src/journal/ObjectRecorder.h:9, from /builddir/build/BUILD/dsms-storage/src/test/journal/test_ObjectRecorder.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/utime.h:18, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/osdc/Journaler.h:63, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/JournalScanner.h:20, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/EventOutput.cc:22: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 80%] Linking CXX executable ../../../bin/ceph_test_rados_api_lock [ 80%] Built target ceph_test_rados_api_watch_notify [ 80%] Building CXX object src/test/librbd/CMakeFiles/rbd_test.dir/test_librbd.cc.o [ 80%] Building CXX object src/test/osd/CMakeFiles/ceph_test_rados.dir/TestRados.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/test/librados/misc_cxx.cc:19: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 80%] Built target ceph_test_rados_api_watch_notify_pp [ 80%] Linking CXX executable ../../../bin/unittest_librados_config In file included from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 80%] Building CXX object src/test/osd/CMakeFiles/ceph_test_osd_stale_read.dir/ceph_test_osd_stale_read.cc.o [ 80%] Built target rbd-mirror In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/mds/JournalPointer.h:19: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Building CXX object src/test/immutable_object_cache/CMakeFiles/unittest_ceph_immutable_obj_cache.dir/test_main.cc.o [ 80%] Linking CXX executable ../../../bin/ceph_test_cls_journal /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rados/buffer.h:59, from /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:11: /builddir/build/BUILD/dsms-storage/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/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/src/mds/events/../SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ [ 80%] Built target ceph_test_rados_api_lock [ 80%] Building CXX object src/test/immutable_object_cache/CMakeFiles/unittest_ceph_immutable_obj_cache.dir/test_SimplePolicy.cc.o [ 80%] Linking CXX executable ../../../bin/ceph_test_rados_api_service /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:14: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 80%] Linking CXX executable ../../../bin/ceph_test_rados_api_list /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 80%] Building CXX object src/test/immutable_object_cache/CMakeFiles/ceph_test_immutable_obj_cache.dir/test_main.cc.o [ 80%] Built target unittest_librados_config /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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 ceph_test_cls_journal /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 80%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/test_main.cc.o [ 80%] Building CXX object src/test/rbd_mirror/CMakeFiles/ceph_test_rbd_mirror.dir/test_main.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/immutable_object_cache/test_main.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 80%] Built target ceph_test_rados_api_service /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 80%] Building CXX object src/test/system/CMakeFiles/ceph_test_rados_list_parallel.dir/rados_list_parallel.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/JournalTool.cc:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 80%] Built target ceph_test_rados_api_list /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 81%] Building CXX object src/test/system/CMakeFiles/ceph_test_rados_open_pools_parallel.dir/rados_open_pools_parallel.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 81%] Linking CXX executable ../../bin/ceph_kvstorebench [ 81%] Linking CXX executable ../../../bin/ceph_test_rados_api_lock_pp In file included from /builddir/build/BUILD/dsms-storage/src/test/immutable_object_cache/test_main.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage/src/common/config.h:22: /builddir/build/BUILD/dsms-storage/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/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/src/mds/events/../SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/test/librados/tier_cxx.cc:5: /builddir/build/BUILD/dsms-storage/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/memory:63, from /builddir/build/BUILD/dsms-storage/src/googletest/googletest/include/gtest/gtest.h:57, from /builddir/build/BUILD/dsms-storage/src/test/librados/tier_cxx.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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage/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/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/src/mds/InoTable.h:82:17: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/test/libradosstriper/striping.cc:7: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/test/libradosstriper/striping.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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:15, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_realm_reloader.cc:5: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/btree_map.h:7, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:34, from /builddir/build/BUILD/dsms-storage/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/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/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage/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/aarch64-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/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/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/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/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/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/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage/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/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/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/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/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))); | ^ [ 81%] Building CXX object src/test/system/CMakeFiles/ceph_test_rados_delete_pools_parallel.dir/rados_delete_pools_parallel.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 81%] Building CXX object src/test/immutable_object_cache/CMakeFiles/unittest_ceph_immutable_obj_cache.dir/test_DomainSocket.cc.o [ 81%] Built target ceph_kvstorebench /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 81%] Building CXX object src/test/lazy-omap-stats/CMakeFiles/ceph_test_lazy_omap_stats.dir/main.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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] [ 82%] Building CXX object src/rgw/CMakeFiles/radosgw-token.dir/rgw_token.cc.o /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Built target ceph_test_rados_api_lock_pp /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 82%] Building CXX object src/tools/CMakeFiles/rados.dir/rados/rados.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_os_lib.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 82%] Linking CXX executable ../../../bin/ceph_test_rados_open_pools_parallel [ 82%] Building CXX object src/test/lazy-omap-stats/CMakeFiles/ceph_test_lazy_omap_stats.dir/lazy_omap_stats_test.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/test/librados/misc.cc:11: /builddir/build/BUILD/dsms-storage/src/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%] Linking CXX executable ../../../bin/ceph_test_immutable_obj_cache /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 82%] Building CXX object src/test/system/CMakeFiles/ceph_test_rados_delete_pools_parallel.dir/st_rados_create_pool.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/btree_map.h:7, from /builddir/build/BUILD/dsms-storage/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/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/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage/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/aarch64-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/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/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/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/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/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/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 83%] Linking CXX executable ../../../bin/ceph_test_rados_api_service_pp [ 83%] Built target ceph_test_rados_open_pools_parallel [ 83%] Building CXX object src/test/system/CMakeFiles/ceph_test_rados_delete_pools_parallel.dir/st_rados_delete_pool.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_bucket.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/lazy-omap-stats/lazy_omap_stats_test.h:22, from /builddir/build/BUILD/dsms-storage/src/test/lazy-omap-stats/main.cc:15: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/test/lazy-omap-stats/lazy_omap_stats_test.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 83%] Built target ceph_test_immutable_obj_cache /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 83%] Building CXX object src/test/librbd/CMakeFiles/rbd_test.dir/test_ImageWatcher.cc.o [ 83%] Linking CXX executable ../bin/ceph-mds In file included from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/RoleSelector.h:7, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/RoleSelector.cc:2: /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.cc:3: /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_config.cc:18: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 83%] Building CXX object src/test/librbd/CMakeFiles/rbd_test.dir/test_internal.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_tools.h:14, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_realm_watcher.cc:7: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/test/librbd/CMakeFiles/rbd_test.dir/test_mirroring.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 83%] Linking CXX executable ../../../bin/ceph_test_rados_api_io_pp /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 83%] Building CXX object src/test/librbd/CMakeFiles/rbd_test.dir/test_BlockGuard.cc.o [ 83%] Building CXX object src/test/system/CMakeFiles/ceph_test_rados_delete_pools_parallel.dir/st_rados_list_objects.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_log.cc:18: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 83%] Linking CXX executable ../../../bin/ceph_test_rados_striper_api_aio /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/osdc/Journaler.h:63, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/Resetter.cc:16: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 83%] Built target ceph_test_rados_api_service_pp [ 83%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_swift_auth.cc.o [ 83%] Built target ceph_test_rados_api_io_pp [ 83%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_usage.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_metadata.cc:18: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 83%] Linking CXX executable ../../../bin/ceph_test_cls_rgw [ 83%] Linking CXX executable ../../../bin/ceph_test_rados_delete_pools_parallel /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_process.cc:9: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 83%] Built target ceph_test_rados_striper_api_aio In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_librbd.cc:19: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/rbd_types.h:16, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_librbd.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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/MDSUtility.h:17, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/MDSUtility.cc:14: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 83%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_opa.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 84%] Building CXX object src/test/librbd/CMakeFiles/rbd_test.dir/test_DeepCopy.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_realm.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_realm.cc:5: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/test/librbd/test_librbd.cc:47: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 84%] Built target ceph_test_rados_delete_pools_parallel [ 84%] Building CXX object src/test/librbd/CMakeFiles/rbd_test.dir/test_Groups.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_main.cc:5: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/perf_counters.h:20, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_main.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 84%] Built target ceph_test_cls_rgw [ 84%] Building CXX object src/test/osd/CMakeFiles/ceph_test_rados.dir/TestOpStat.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/test/librados/tier_cxx.cc:8: /builddir/build/BUILD/dsms-storage/src/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_swift.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_swift.cc:16: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 84%] Linking CXX executable ../../../bin/ceph_test_rados_striper_api_io In file included from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_main.cc:5: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/perf_counters.h:20, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_main.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 84%] Building CXX object src/test/osd/CMakeFiles/ceph_test_rados.dir/Object.cc.o [ 84%] Linking CXX executable ../bin/ceph-syn In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:14: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/events/../CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 84%] Building CXX object src/test/osd/CMakeFiles/ceph_test_rados.dir/RadosModel.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage/src/common/config.h:22: /builddir/build/BUILD/dsms-storage/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/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/src/mds/events/../SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_usage.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_user.cc:6: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 84%] Built target ceph_test_rados_striper_api_io [ 84%] Building CXX object src/test/librbd/CMakeFiles/rbd_test.dir/test_Migration.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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_test_rbd_mirror /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/librados/tier_cxx.cc:3385: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 84%] Linking CXX executable ../../../bin/ceph_test_rados_list_parallel /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Built target ceph_test_rados_list_parallel [ 84%] Building CXX object src/test/librbd/CMakeFiles/rbd_test.dir/test_MirroringWatcher.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/events/../CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/test/osd/RadosModel.h:6, from /builddir/build/BUILD/dsms-storage/src/test/osd/TestRados.cc:16: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/utime.h:18, from /builddir/build/BUILD/dsms-storage/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage/src/common/Cond.h:19, from /builddir/build/BUILD/dsms-storage/src/test/osd/TestRados.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/src/test/osd/Object.h:2, from /builddir/build/BUILD/dsms-storage/src/test/osd/RadosModel.h:18: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage/src/tools/immutable_object_cache/SimplePolicy.h:9, from /builddir/build/BUILD/dsms-storage/src/test/immutable_object_cache/test_SimplePolicy.cc:9: /builddir/build/BUILD/dsms-storage/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/src/test/immutable_object_cache/test_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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/events/../CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_ImageWatcher.cc:3: /builddir/build/BUILD/dsms-storage/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/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/src/test/osd/Object.cc:2: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 84%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/test_mock_fixture.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage/src/common/Cond.h:19, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_realm_watcher.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mirroring.cc:14: /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_BlockGuard.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/mds/InoTable.h:51:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage/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/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/src/test/librbd/test_librbd.cc:3884:23: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 84%] Built target ceph-syn In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/ceph_json.h:4, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 84%] Building CXX object src/test/librbd/CMakeFiles/rbd_test.dir/test_ObjectMap.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/test/lazy-omap-stats/lazy_omap_stats_test.h:22, from /builddir/build/BUILD/dsms-storage/src/test/lazy-omap-stats/lazy_omap_stats_test.cc:28: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/test/lazy-omap-stats/lazy_omap_stats_test.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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 84%] Building CXX object src/test/librbd/CMakeFiles/rbd_test.dir/test_Operations.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/ceph_json.h:4, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:14: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librbd/io/ImageRequestWQ.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_DeepCopy.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/JournalPointer.h:20, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/Resetter.cc:17: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_usage.cc:7: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/test/osd/ceph_test_osd_stale_read.cc:5: /builddir/build/BUILD/dsms-storage/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/memory:63, from /builddir/build/BUILD/dsms-storage/src/googletest/googletest/include/gtest/gtest.h:57, from /builddir/build/BUILD/dsms-storage/src/test/osd/ceph_test_osd_stale_read.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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 84%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_sts.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/MDSMap.h:37, from /builddir/build/BUILD/dsms-storage/src/mds/FSMap.h:29, from /builddir/build/BUILD/dsms-storage/src/tools/cephfs/MDSUtility.h:18: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/tools/rados/rados.cc:18: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_Groups.cc:4: /builddir/build/BUILD/dsms-storage/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/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 | ^~~~~~~~ [ 84%] Linking CXX executable ../../../bin/ceph_test_rados_striper_api_striping [ 84%] Building CXX object src/test/librbd/CMakeFiles/rbd_test.dir/test_Trash.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 84%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/test_mock_ImageMap.cc.o [ 84%] Building CXX object src/tools/CMakeFiles/rados.dir/RadosDump.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_internal.cc:7: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/cls/journal/cls_journal_types.h:9, from /builddir/build/BUILD/dsms-storage/src/cls/journal/cls_journal_client.h:8, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_internal.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 84%] Built target ceph_test_rados_striper_api_striping [ 84%] Building CXX object src/tools/CMakeFiles/rados.dir/rados/RadosImport.cc.o [ 84%] Linking CXX shared library ../../lib/librbd.so In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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 | ^~~~~~~~ [ 84%] Building CXX object src/tools/CMakeFiles/rados.dir/rados/PoolDump.cc.o [ 84%] Linking CXX executable ../../../bin/unittest_osd_types In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_Migration.cc:5: /builddir/build/BUILD/dsms-storage/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/src/test/librados/test_shared.h:8, from /builddir/build/BUILD/dsms-storage/src/test/librados/test.h:19, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_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/src/test/osd/RadosModel.cc:3: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 84%] Linking CXX executable ../../../bin/ceph_test_rados_api_aio [ 84%] Building CXX object src/tools/CMakeFiles/rados.dir/__/common/util.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_swift_auth.h:7, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_swift_auth.cc:12: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/test/osd/RadosModel.h:6, from /builddir/build/BUILD/dsms-storage/src/test/osd/RadosModel.cc:9: /builddir/build/BUILD/dsms-storage/src/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/src/test/osd/TestOpStat.cc:2: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/ceph_json.h:4, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/test/osd/RadosModel.h:6, from /builddir/build/BUILD/dsms-storage/src/test/osd/TestOpStat.cc:7: /builddir/build/BUILD/dsms-storage/src/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_MirroringWatcher.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/mds/mdstypes.h:14: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/cls/cas/cls_cas_ops.h:126:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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] /builddir/build/BUILD/dsms-storage/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 [ 84%] Building CXX object src/tools/CMakeFiles/rados.dir/__/common/obj_bencher.cc.o [ 84%] Built target ceph_test_rados_api_aio [ 84%] Building CXX object src/tools/CMakeFiles/rados.dir/__/osd/ECUtil.cc.o [ 84%] Linking CXX executable ../../../bin/cephfs-table-tool [ 84%] Built target unittest_osd_types [ 84%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/test_mock_ImageReplayer.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/test/immutable_object_cache/test_DomainSocket.cc: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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage/src/common/Cond.h:19, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_realm_watcher.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 84%] Linking CXX executable ../../../bin/ceph_test_rados_api_asio In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_opa.h:7, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_opa.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/inode_backtrace.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rados/rados.cc:37: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::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/src/test/rbd_mirror/test_fixture.h:8, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_fixture.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/cls/cas/cls_cas_ops.h:126:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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] /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/events/../CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_Operations.cc:4: /builddir/build/BUILD/dsms-storage/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/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 /usr/include/c++/12/ios:40, from /usr/include/c++/12/ostream:38, from /builddir/build/BUILD/dsms-storage/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/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)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ [ 84%] Linking CXX executable ../../../bin/ceph_test_rados_api_snapshots_pp /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 84%] Built target ceph_test_rados_api_asio [ 84%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/test_mock_ImageSync.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 84%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/test_mock_InstanceReplayer.cc.o [ 84%] Built target ceph_test_rados_api_snapshots_pp [ 84%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/test_mock_InstanceWatcher.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_ObjectMap.cc:3: /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ReadResult.h:12, from /builddir/build/BUILD/dsms-storage/src/librbd/io/AioCompletion.h:15, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_ImageWatcher.cc:18: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/test/osd/ceph_test_osd_stale_read.cc:9: /builddir/build/BUILD/dsms-storage/src/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 84%] Linking CXX executable ../../bin/radosgw-token In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ReadResult.h:12, from /builddir/build/BUILD/dsms-storage/src/librbd/io/AioCompletion.h:15, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mirroring.cc:24: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 84%] Building CXX object src/test/librbd/CMakeFiles/rbd_test.dir/journal/test_Entries.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 84%] Building CXX object src/test/librbd/CMakeFiles/rbd_test.dir/journal/test_Replay.cc.o [ 84%] Built target radosgw-token [ 85%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/test_mock_LeaderWatcher.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage/src/librbd/io/ReadResult.h:12, from /builddir/build/BUILD/dsms-storage/src/librbd/io/AioCompletion.h:15, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_internal.cc:21: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/test/rbd_mirror/test_fixture.h:8, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_ImageMap.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/librbd/io/ImageRequestWQ.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_DeepCopy.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_frontend.h:11, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_lib.h:14, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_os_lib.h:9, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_os_lib.cc:7: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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); | ^~~~~~~~~~~~~~~~ [ 85%] Building CXX object src/test/immutable_object_cache/CMakeFiles/unittest_ceph_immutable_obj_cache.dir/test_multi_session.cc.o /builddir/build/BUILD/dsms-storage/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/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/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/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/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/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/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_frontend.h:11, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_process.cc:12: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/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/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/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/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/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, | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 85%] Built target ceph-mds [ 85%] Building CXX object src/test/immutable_object_cache/CMakeFiles/unittest_ceph_immutable_obj_cache.dir/test_object_store.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/tools/rados/PoolDump.cc:15: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:31: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_Trash.cc:6: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/cls/lock/cls_lock_types.h:7, from /builddir/build/BUILD/dsms-storage/src/cls/rbd/cls_rbd_client.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_Trash.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 /builddir/build/BUILD/dsms-storage/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/common/Readahead.h:10, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:19: /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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 85%] Building CXX object src/test/immutable_object_cache/CMakeFiles/unittest_ceph_immutable_obj_cache.dir/test_message.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 85%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/test_mock_MirrorStatusUpdater.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:32: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_rest_sts.cc.o [ 85%] Linking CXX executable ../../../bin/unittest_osdmap /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_sts.cc:14: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librados/AioCompletionImpl.h:20, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_InstanceWatcher.cc:4: /builddir/build/BUILD/dsms-storage/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/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage/src/librados/AioCompletionImpl.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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/io/ImageRequestWQ.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_Migration.cc:18: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/common/Throttle.h:14, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_process.cc:5: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/test/librados_test_stub/TestMemCluster.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/MockTestMemCluster.h:8, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_fixture.cc:7: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/test/rbd_mirror/test_fixture.h:8, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_ImageSync.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 85%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/test_mock_NamespaceReplayer.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/librbd/mock/MockImageCtx.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_InstanceReplayer.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 85%] Built target unittest_osdmap [ 85%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/test_mock_PoolReplayer.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 85%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/test_mock_PoolWatcher.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/common/sstring.hh:33, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/PGLog.h:22, from /builddir/build/BUILD/dsms-storage/src/tools/rados/RadosImport.cc:18: /builddir/build/BUILD/dsms-storage/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/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/sstring.hh:33, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/tools/RadosDump.h:23, from /builddir/build/BUILD/dsms-storage/src/tools/RadosDump.cc:15: /builddir/build/BUILD/dsms-storage/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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/Types.h:13, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_ImageReplayer.cc:5: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/cls/journal/cls_journal_types.h:9, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_ImageReplayer.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 85%] Linking CXX executable ../../../bin/unittest_bluestore_types /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_swift.cc:27: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/journal/test_Entries.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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); | ^~~~~~~~ [ 85%] Linking CXX executable ../../../bin/ceph_test_libcephfs /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/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/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/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/journal/test_Replay.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/Utils.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_LeaderWatcher.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 85%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/test_mock_Throttler.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/sstring.hh:33, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/tools/RadosDump.h:23, from /builddir/build/BUILD/dsms-storage/src/tools/rados/PoolDump.h:20, from /builddir/build/BUILD/dsms-storage/src/tools/rados/PoolDump.cc:18: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/librados_test_stub/TestMemCluster.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestMemIoCtxImpl.h:8, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/MockTestMemIoCtxImpl.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_ImageMap.cc:5: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 85%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/image_deleter/test_mock_SnapshotPurgeRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/src/rgw/rgw_rest_swift.cc:1360:19: note: use reference type to prevent copying 1360 | for (const auto kv : response_attrs) { | ^~ | & /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:32: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 85%] Built target ceph_test_libcephfs [ 85%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/image_deleter/test_mock_TrashMoveRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Linking CXX executable ../../../bin/ceph_test_osd_stale_read /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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 ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 85%] Linking CXX executable ../../../bin/ceph_test_rados_api_misc /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:21, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_fixture.cc:9: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/test/rbd_mirror/test_fixture.h:8, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_MirrorStatusUpdater.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/image_deleter/test_mock_TrashRemoveRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/image_deleter/test_mock_TrashWatcher.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 85%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/image_replayer/test_mock_BootstrapRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 85%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/image_replayer/test_mock_CreateImageRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/librados/AioCompletionImpl.h:21: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 85%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/image_replayer/test_mock_GetMirrorImageIdRequest.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 85%] Built target ceph_test_osd_stale_read [ 85%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/image_replayer/test_mock_PrepareLocalImageRequest.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 85%] Built target ceph_test_rados_api_misc [ 85%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/image_replayer/test_mock_PrepareRemoteImageRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 85%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/image_replayer/journal/test_mock_CreateLocalImageRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_swift.cc:14: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/api/Config.h:9, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_NamespaceReplayer.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/rbd_mirror/test_fixture.h:8, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_PoolWatcher.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/librbd/api/Config.h:9, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_PoolReplayer.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:21, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_ImageMap.cc:7: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/DeepCopyRequest.h:10, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_ImageSync.cc:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/tools/RadosDump.h:21: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:31: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_ImageReplayer.cc:18: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/immutable_object_cache/test_object_store.cc:11: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/test/immutable_object_cache/test_object_store.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/src/test/librados_test_stub/TestMemCluster.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestMemIoCtxImpl.h:8, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/MockTestMemIoCtxImpl.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_ImageSync.cc:7: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/immutable_object_cache/test_object_store.cc:13: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/test/rbd_mirror/test_fixture.h:8, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_Throttler.cc:15: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/journal/test_Entries.cc:7: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/osd/PGLog.h:20: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:21: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_LeaderWatcher.cc:5: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/tools/RadosDump.h:21: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/test/rbd_mirror/test_fixture.h:8, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_deleter/test_mock_SnapshotPurgeRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:33: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 85%] Built target librbd [ 85%] Generating ../../../lib/cython_modules/lib.3/rbd.cpython-310-aarch64-linux-gnu.so /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_sts.cc:22: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 85%] Built target cephfs-table-tool /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:21: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 85%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/rbd.cc.o [ 85%] Built target ceph_test_rbd_mirror In file included from /builddir/build/BUILD/dsms-storage/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/journal/test_Replay.cc:15: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 85%] Building CXX object src/tools/rbd_nbd/CMakeFiles/rbd-nbd.dir/rbd-nbd.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/test/rbd_mirror/test_fixture.h:8, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_deleter/test_mock_TrashMoveRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 85%] Linking CXX executable ../../../bin/cephfs-data-scan /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/image_replayer/journal/test_mock_PrepareReplayRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_fixture.h:8, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_deleter/test_mock_TrashRemoveRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 /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/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/test/immutable_object_cache/test_multi_session.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( | ^~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/rbd_mirror/test_fixture.h:8, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/test_mock_BootstrapRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 85%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/image_replayer/journal/test_mock_EventPreprocessor.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_fixture.h:8, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/test_mock_CreateImageRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/test/rbd_mirror/test_fixture.h:8, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/test_mock_GetMirrorImageIdRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:21: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/test/rbd_mirror/test_fixture.h:8, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_deleter/test_mock_TrashWatcher.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/test/rbd_mirror/test_fixture.h:8, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/test_mock_PrepareLocalImageRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/librados_test_stub/TestMemCluster.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestMemIoCtxImpl.h:8, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/MockTestMemIoCtxImpl.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_MirrorStatusUpdater.cc:9: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/rbd_mirror/test_fixture.h:8, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/journal/test_mock_CreateLocalImageRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 85%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/image_replayer/journal/test_mock_Replayer.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 85%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/image_replayer/snapshot/test_mock_ApplyImageStateRequest.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 85%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/image_replayer/snapshot/test_mock_CreateLocalImageRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/rbd_mirror/test_fixture.h:8, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/test_mock_PrepareRemoteImageRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 85%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/image_replayer/snapshot/test_mock_Replayer.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_NamespaceReplayer.cc:5: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/test/librados_test_stub/TestMemCluster.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestMemIoCtxImpl.h:8, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/MockTestMemIoCtxImpl.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_PoolWatcher.cc:5: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_PoolReplayer.cc:6: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/osdc/Objecter.h:28: /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ [ 85%] Built target unittest_bluestore_types [ 86%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/image_sync/test_mock_SyncPointCreateRequest.cc.o [ 86%] Building CXX object src/rbd_replay/CMakeFiles/rbd_replay_ios.dir/ios.cc.o [ 86%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/ArgumentTypes.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 86%] Linking CXX executable ../../../bin/ceph_test_rados_api_aio_pp [ 86%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/IndentStream.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 86%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/MirrorDaemonServiceInfo.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 86%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/OptionPrinter.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_sts.cc:12: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 86%] Building CXX object src/rbd_replay/CMakeFiles/rbd_replay.dir/actions.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 86%] Built target ceph_test_rados_api_aio_pp [ 86%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/image_sync/test_mock_SyncPointPruneRequest.cc.o [ 86%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/Schedule.cc.o [ 86%] Building CXX object src/rbd_replay/CMakeFiles/rbd_replay.dir/BufferReader.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:21, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_MirrorStatusUpdater.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:21: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_Throttler.cc:16: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 86%] Building CXX object src/rbd_replay/CMakeFiles/rbd_replay.dir/ImageNameMap.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:21: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying [ 86%] Building CXX object src/rbd_replay/CMakeFiles/rbd_replay.dir/PendingIO.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 87%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/Shell.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_deleter/test_mock_SnapshotPurgeRequest.cc:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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 Compiling rbd.pyx because it changed. [1/1] Cythonizing rbd.pyx running build running build_ext building 'rbd' extension creating /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-aarch64-cpython-310/builddir/build/BUILD/dsms-storage/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.10 -I/usr/include/python3.10 -c /builddir/build/BUILD/dsms-storage/build/src/pybind/rbd/rbd.c -o /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-aarch64-cpython-310/builddir/build/BUILD/dsms-storage/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv In file included from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_fixture.h:8, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/journal/test_mock_PrepareReplayRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/rbd_replay/CMakeFiles/rbd_replay.dir/rbd_loc.cc.o [ 87%] Building CXX object src/rbd_replay/CMakeFiles/rbd_replay.dir/Replayer.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 87%] Linking CXX executable ../../../bin/ceph_test_lazy_omap_stats /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/rbd_mirror/test_fixture.h:8, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/journal/test_mock_EventPreprocessor.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/test/librados_test_stub/TestMemCluster.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestMemIoCtxImpl.h:8, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/MockTestMemIoCtxImpl.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_deleter/test_mock_SnapshotPurgeRequest.cc:11: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 87%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/Utils.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_deleter/test_mock_TrashMoveRequest.cc:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 87%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Bench.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:21, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_PoolWatcher.cc:7: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/rbd_replay/actions.hpp:19, from /builddir/build/BUILD/dsms-storage/src/rbd_replay/ios.hpp:28, from /builddir/build/BUILD/dsms-storage/src/rbd_replay/ios.cc:18: /builddir/build/BUILD/dsms-storage/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/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 | ^~~~~~~~ [ 87%] Linking CXX executable ../../../bin/unittest_ceph_immutable_obj_cache /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:21: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_deleter/test_mock_TrashRemoveRequest.cc:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 87%] Built target ceph_test_lazy_omap_stats /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 /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/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/librbd/Journal.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( | ^~~~~~~~~~~~~~~~~~~~ [ 87%] Linking CXX executable ../../../bin/ceph_test_rados [ 87%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Children.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestMemCluster.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestMemIoCtxImpl.h:8, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/MockTestMemIoCtxImpl.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_deleter/test_mock_TrashMoveRequest.cc:15: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 87%] Building CXX object src/test/librbd/CMakeFiles/ceph_test_librbd_fsx.dir/fsx.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/librados_test_stub/TestMemCluster.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestMemIoCtxImpl.h:8, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/MockTestMemIoCtxImpl.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_deleter/test_mock_TrashWatcher.cc:5: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/OpenImageRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/test_mock_BootstrapRequest.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/AsyncRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/ObjectMapIterate.h:11, from /builddir/build/BUILD/dsms-storage/src/librbd/Operations.h:10, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/test_mock_CreateImageRequest.cc:7: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/test/rbd_mirror/test_fixture.h:8, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/snapshot/test_mock_CreateLocalImageRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/test/librados_test_stub/TestMemCluster.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestMemIoCtxImpl.h:8, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/MockTestMemIoCtxImpl.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/test_mock_CreateImageRequest.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/test/rbd_mirror/test_fixture.h:8, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/snapshot/test_mock_ApplyImageStateRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/test/librados_test_stub/TestMemCluster.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestMemIoCtxImpl.h:8, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/MockTestMemIoCtxImpl.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_deleter/test_mock_TrashRemoveRequest.cc:13: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 87%] Built target ceph_test_rados 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/src/test/librados_test_stub/LibradosTestStub.h:8, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_fixture.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( | ^~~~~~~~~~~~~~~~~~~~ [ 87%] Building CXX object src/test/rbd_mirror/CMakeFiles/ceph_test_rbd_mirror_random_write.dir/random_write.cc.o [ 87%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Clone.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestMemCluster.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestMemIoCtxImpl.h:8, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/MockTestMemIoCtxImpl.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/test_mock_GetMirrorImageIdRequest.cc:9: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/test/rbd_mirror/test_fixture.h:8, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/journal/test_mock_Replayer.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Config.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/rbd_mirror/test_fixture.h:8, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_sync/test_mock_SyncPointCreateRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/test/librados_test_stub/TestMemCluster.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestMemIoCtxImpl.h:8, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/MockTestMemIoCtxImpl.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/test_mock_BootstrapRequest.cc:15: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/librados_test_stub/TestMemCluster.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestMemIoCtxImpl.h:8, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/MockTestMemIoCtxImpl.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/test_mock_PrepareLocalImageRequest.cc:14: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 87%] Built target unittest_ceph_immutable_obj_cache /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 88%] Building CXX object src/rbd_fuse/CMakeFiles/rbd-fuse.dir/rbd-fuse.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/rbd_replay/actions.hpp:19, from /builddir/build/BUILD/dsms-storage/src/rbd_replay/actions.cc:15: /builddir/build/BUILD/dsms-storage/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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/rbd_mirror/test_fixture.h:8, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/snapshot/test_mock_Replayer.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/ArgumentTypes.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/journal/test_mock_CreateLocalImageRequest.cc:12: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 88%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Copy.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_fixture.h:8, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_sync/test_mock_SyncPointPruneRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 88%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Create.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/rbd_replay/actions.hpp:19, from /builddir/build/BUILD/dsms-storage/src/rbd_replay/PendingIO.hpp:19, from /builddir/build/BUILD/dsms-storage/src/rbd_replay/PendingIO.cc:15: /builddir/build/BUILD/dsms-storage/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/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/src/test/librados_test_stub/TestMemCluster.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestMemIoCtxImpl.h:8, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/MockTestMemIoCtxImpl.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/test_mock_PrepareRemoteImageRequest.cc:15: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/Children.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 88%] Linking CXX executable ../../../bin/ceph_test_rados_api_misc_pp 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/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/librbd/Journal.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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:21: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/tools/rbd_nbd/rbd-nbd.cc:61: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 88%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Device.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/tools/rbd_nbd/rbd-nbd.cc:64: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:21, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/test_mock_GetMirrorImageIdRequest.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/tools/rbd/MirrorDaemonServiceInfo.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/ceph_json.h:4, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/Utils.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:21, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/test_mock_PrepareLocalImageRequest.cc:15: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/Clone.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 88%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Diff.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:33: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:21, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_deleter/test_mock_TrashWatcher.cc:7: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 88%] Built target ceph_test_rados_api_misc_pp /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 88%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/DiskUsage.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 88%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/pool_watcher/test_mock_RefreshImagesRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:21, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/test_mock_PrepareRemoteImageRequest.cc:16: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 88%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Export.cc.o [ 88%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Feature.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/test/librbd/fsx.cc:54: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/test/librbd/fsx.cc:44: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/Schedule.cc:9: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/common/Formatter.h:9, from /builddir/build/BUILD/dsms-storage/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/bind.hpp:30, from /builddir/build/BUILD/dsms-storage/src/rbd_replay/BoundedBuffer.hpp:7, from /builddir/build/BUILD/dsms-storage/src/rbd_replay/Replayer.hpp:23, from /builddir/build/BUILD/dsms-storage/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( | ^~~~~~~~~~~~~~~~~~~~ [ 88%] Linking CXX static library ../../lib/librbd_replay_ios.a In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_nbd/rbd-nbd.cc:50: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/Bench.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/Copy.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 88%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Flatten.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/rbd_replay/actions.hpp:19, from /builddir/build/BUILD/dsms-storage/src/rbd_replay/PendingIO.hpp:19, from /builddir/build/BUILD/dsms-storage/src/rbd_replay/Replayer.hpp:25: /builddir/build/BUILD/dsms-storage/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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librbd/AsyncRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/ObjectMapIterate.h:11, from /builddir/build/BUILD/dsms-storage/src/librbd/Operations.h:10, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/snapshot/test_mock_CreateLocalImageRequest.cc:7: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/AsyncRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/operation/ObjectMapIterate.h:11, from /builddir/build/BUILD/dsms-storage/src/librbd/Operations.h:10, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/snapshot/test_mock_ApplyImageStateRequest.cc:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 88%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Ggate.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/journal/test_mock_PrepareReplayRequest.cc:11: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/test/librados_test_stub/TestMemCluster.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestMemIoCtxImpl.h:8, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/MockTestMemIoCtxImpl.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/snapshot/test_mock_CreateLocalImageRequest.cc:13: /builddir/build/BUILD/dsms-storage/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/src/test/librados_test_stub/TestMemCluster.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestMemIoCtxImpl.h:8, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/MockTestMemIoCtxImpl.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/snapshot/test_mock_ApplyImageStateRequest.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/journal/test_mock_EventPreprocessor.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_sts.cc:24: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/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/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/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 88%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Group.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 88%] Built target rbd_replay_ios [ 88%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/ImageMeta.cc.o [ 88%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Import.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:21: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/test/librados_test_stub/TestMemCluster.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestMemIoCtxImpl.h:8, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/MockTestMemIoCtxImpl.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_sync/test_mock_SyncPointCreateRequest.cc:6: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/Diff.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:21: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 88%] Built target cephfs-data-scan [ 88%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Info.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/tools/rbd_mirror/image_replayer/CloseImageRequest.h:8, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/journal/test_mock_Replayer.cc:8: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/librbd/deep_copy/SnapshotCopyRequest.h:11, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/snapshot/test_mock_Replayer.cc:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 88%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Journal.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/Create.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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/src/test/librados_test_stub/TestMemCluster.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestMemIoCtxImpl.h:8, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/MockTestMemIoCtxImpl.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_sync/test_mock_SyncPointPruneRequest.cc:6: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 88%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Kernel.cc.o [ 88%] Linking CXX executable ../../../bin/unittest_journal [ 89%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/List.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/Flatten.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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/src/test/rbd_mirror/test_fixture.h:8, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/pool_watcher/test_mock_RefreshImagesRequest.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_sts.cc:20: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/DiskUsage.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/rbd_mirror/random_write.cc:9: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/ceph_argparse.h:26, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/random_write.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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/journal/test_mock_Replayer.cc:16: /builddir/build/BUILD/dsms-storage/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/src/test/librados_test_stub/TestMemCluster.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestMemIoCtxImpl.h:8, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/MockTestMemIoCtxImpl.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/snapshot/test_mock_Replayer.cc:20: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/Feature.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/ImageMeta.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:21, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_sync/test_mock_SyncPointCreateRequest.cc:7: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/Export.cc:7: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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 /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/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( | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Lock.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/Config.cc:16: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/common/Formatter.h:9, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/MergeDiff.cc.o [ 89%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Migration.cc.o [ 89%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/MirrorImage.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:21, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_sync/test_mock_SyncPointPruneRequest.cc:7: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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 src/tools/rbd/CMakeFiles/rbd.dir/action/MirrorPool.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/Group.cc:8: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 89%] Built target unittest_journal [ 89%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/MirrorSnapshotSchedule.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/Ggate.cc:13: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/include/stringify.h:4, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 90%] Linking CXX executable ../../../bin/ceph_test_libcephfs_access /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/Import.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/Info.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/test/librbd/fsx.cc: In function 'void check_clone(int, bool)': /builddir/build/BUILD/dsms-storage/src/test/librbd/fsx.cc:2451:24: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] 2451 | strncpy(buf, iname, len); | ^ /builddir/build/BUILD/dsms-storage/src/test/librbd/fsx.cc:2451:24: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 128 equals destination size [-Wstringop-truncation] [ 90%] Linking CXX executable ../../bin/rbd-fuse [ 90%] Linking CXX executable ../../../bin/cephfs-journal-tool [ 90%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Namespace.cc.o [ 90%] Linking CXX executable ../../../bin/ceph_test_rbd_mirror_random_write /builddir/build/BUILD/dsms-storage/src/test/librbd/fsx.cc: In function 'int {anonymous}::finalize_journal(rados_ioctx_t, const char*, int, int, uint64_t, int)': /builddir/build/BUILD/dsms-storage/src/test/librbd/fsx.cc:2451:24: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 1024 equals destination size [-Wstringop-truncation] /builddir/build/BUILD/dsms-storage/src/test/librbd/fsx.cc:2451:24: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 1024 equals destination size [-Wstringop-truncation] In file included from /builddir/build/BUILD/dsms-storage/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/Kernel.cc:7: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 90%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Nbd.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/Journal.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/Lock.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/test/librbd/fsx.cc: In function 'void do_clone()': /builddir/build/BUILD/dsms-storage/src/test/librbd/fsx.cc:2451:24: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 1024 equals destination size [-Wstringop-truncation] /builddir/build/BUILD/dsms-storage/src/test/librbd/fsx.cc:2451:24: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 1024 equals destination size [-Wstringop-truncation] [ 90%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/ObjectMap.cc.o [ 90%] Built target ceph_test_rbd_mirror_random_write [ 90%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Perf.cc.o [ 90%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Pool.cc.o [ 90%] Built target ceph_test_libcephfs_access [ 90%] Built target rbd-fuse [ 90%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Rename.cc.o [ 90%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Remove.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/List.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/Migration.cc:8: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage/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/src/test/librados_test_stub/TestMemCluster.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/TestMemIoCtxImpl.h:8, from /builddir/build/BUILD/dsms-storage/src/test/librados_test_stub/MockTestMemIoCtxImpl.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/pool_watcher/test_mock_RefreshImagesRequest.cc:5: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 90%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Resize.cc.o [ 90%] Linking CXX executable ../../../bin/ceph_test_librbd_fsx [ 90%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Snap.cc.o [ 90%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Sparsify.cc.o [ 90%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Status.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/common/WorkQueue.h:39, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_fixture.h:9: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/snapshot/test_mock_ApplyImageStateRequest.cc:140:19: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/MergeDiff.cc:11: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 90%] Built target ceph_test_librbd_fsx /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/image_replayer/snapshot/test_mock_ApplyImageStateRequest.cc:140:19: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 90%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/TrashPurgeSchedule.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/MirrorImage.cc:17: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/MirrorPool.cc:7: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 90%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Trash.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/ObjectMap.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/MirrorSnapshotSchedule.cc:7: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/Rename.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 90%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Watch.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/Resize.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:21, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/pool_watcher/test_mock_RefreshImagesRequest.cc:7: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/Namespace.cc:7: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/Sparsify.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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 /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/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/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/Nbd.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/Pool.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 90%] Linking CXX static library ../../lib/librbd_replay.a In file included from /builddir/build/BUILD/dsms-storage/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/Remove.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/Perf.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 90%] Built target rbd_replay [ 90%] Building CXX object src/rbd_replay/CMakeFiles/rbd-replay-prep.dir/rbd-replay-prep.cc.o [ 90%] Building CXX object src/test/CMakeFiles/unittest_rbd_replay.dir/test_rbd_replay.cc.o [ 90%] Building CXX object src/rbd_replay/CMakeFiles/rbd-replay.dir/rbd-replay.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/Snap.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/Status.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 90%] Linking CXX executable ../../bin/ceph-mgr 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/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/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/TrashPurgeSchedule.cc:7: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/Trash.cc:17: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 90%] Linking CXX executable ../../bin/rados In file included from /builddir/build/BUILD/dsms-storage/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage/src/tools/rbd/action/Watch.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage/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 /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/rbd_replay/actions.hpp:19, from /builddir/build/BUILD/dsms-storage/src/rbd_replay/ios.hpp:28, from /builddir/build/BUILD/dsms-storage/src/test/test_rbd_replay.cc:21: /builddir/build/BUILD/dsms-storage/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 /builddir/build/BUILD/dsms-storage/src/common/escape.h:18, from /builddir/build/BUILD/dsms-storage/src/test/test_rbd_replay.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 90%] Built target rados [ 90%] Generating ../../../lib/cython_modules/lib.3/rados.cpython-310-aarch64-linux-gnu.so 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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/common/WorkQueue.h:39, from /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/test_mock_fixture.h:9: /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/pool_watcher/test_mock_RefreshImagesRequest.cc:47:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/test/rbd_mirror/pool_watcher/test_mock_RefreshImagesRequest.cc:47:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/rbd_replay/actions.hpp:19, from /builddir/build/BUILD/dsms-storage/src/rbd_replay/ios.hpp:28, from /builddir/build/BUILD/dsms-storage/src/rbd_replay/rbd-replay-prep.cc:32: /builddir/build/BUILD/dsms-storage/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/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 90%] Built target cephfs-journal-tool [ 90%] Built target ceph-mgr 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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/rbd_replay/actions.hpp:19, from /builddir/build/BUILD/dsms-storage/src/rbd_replay/PendingIO.hpp:19, from /builddir/build/BUILD/dsms-storage/src/rbd_replay/Replayer.hpp:25, from /builddir/build/BUILD/dsms-storage/src/rbd_replay/rbd-replay.cc:19: /builddir/build/BUILD/dsms-storage/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/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 | ^~~~~~~~ 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/build/lib/cython_modules/temp.linux-aarch64-cpython-310/builddir/build/BUILD/dsms-storage/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.10 -I/usr/include/python3.10 -c /builddir/build/BUILD/dsms-storage/build/src/pybind/rados/rados.c -o /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-aarch64-cpython-310/builddir/build/BUILD/dsms-storage/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv [ 90%] Linking CXX executable ../../../bin/rbd-nbd [ 90%] Built target rbd-nbd [ 90%] Linking CXX executable ../../bin/unittest_rbd_replay [ 90%] Built target unittest_rbd_replay [ 90%] Linking CXX static library ../../lib/librgw_a.a [ 90%] Linking CXX executable ../../bin/rbd-replay-prep [ 90%] Built target rbd-replay-prep [ 90%] Linking CXX executable ../../bin/rbd-replay [ 90%] Built target rbd-replay [ 90%] Linking CXX executable ../../../bin/rbd [ 90%] Built target rbd [ 90%] Linking CXX executable ../../../bin/ceph_test_cls_rbd [ 90%] Built target ceph_test_cls_rbd [ 91%] Linking CXX executable ../../../bin/ceph_test_objectstore [ 91%] Linking CXX static library ../../lib/libosd.a /usr/bin/gcc -shared -L/builddir/build/BUILD/dsms-storage/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-aarch64-cpython-310/builddir/build/BUILD/dsms-storage/build/src/pybind/rbd/rbd.o -L/usr/lib64 -L/usr/lib64/python3.10/config-3.10-aarch64-linux-gnu -L/usr/lib64 -lrbd -lrados -lcrypt -ldl -lm -lm -lpython3.10 -o /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/lib.3/rbd.cpython-310-aarch64-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 [ 91%] Built target cython_rbd [ 91%] Built target ceph_test_objectstore [ 91%] Linking CXX executable ../../../bin/ceph_test_rados_api_tier_pp [ 91%] Built target ceph_test_rados_api_tier_pp [ 91%] Built target osd [ 91%] Building CXX object src/tools/CMakeFiles/ceph-objectstore-tool.dir/rebuild_mondb.cc.o [ 91%] Building CXX object src/test/CMakeFiles/test_build_librados.dir/buildtest_skeleton.cc.o [ 91%] Building CXX object src/test/osd/CMakeFiles/unittest_osd_osdcap.dir/osdcap.cc.o [ 91%] Building CXX object src/tools/CMakeFiles/ceph-objectstore-tool.dir/RadosDump.cc.o [ 91%] Building CXX object src/test/osd/CMakeFiles/unittest_hitset.dir/hitset.cc.o [ 91%] Building CXX object src/test/osd/CMakeFiles/unittest_extent_cache.dir/test_extent_cache.cc.o [ 91%] Building CXX object src/test/osd/CMakeFiles/unittest_ecbackend.dir/TestECBackend.cc.o [ 91%] Building CXX object src/test/osd/CMakeFiles/unittest_osdscrub.dir/TestOSDScrub.cc.o [ 91%] Building CXX object src/test/CMakeFiles/ceph_test_snap_mapper.dir/test_snap_mapper.cc.o [ 91%] Building CXX object src/tools/CMakeFiles/ceph-objectstore-tool.dir/ceph_objectstore_tool.cc.o [ 91%] Building CXX object src/CMakeFiles/ceph-osd.dir/objclass/class_api.cc.o [ 91%] Building CXX object src/CMakeFiles/ceph-osd.dir/ceph_osd.cc.o [ 92%] Building CXX object src/test/osd/CMakeFiles/unittest_pg_transaction.dir/test_pg_transaction.cc.o [ 92%] Building CXX object src/test/osd/CMakeFiles/unittest_pglog.dir/TestPGLog.cc.o [ 92%] Building CXX object src/CMakeFiles/ceph-osd.dir/osd/objclass.cc.o [ 92%] Building CXX object src/test/osd/CMakeFiles/unittest_ec_transaction.dir/test_ec_transaction.cc.o [ 93%] Building CXX object src/test/osd/CMakeFiles/unittest_mclock_scheduler.dir/TestMClockScheduler.cc.o [ 93%] Linking CXX executable ../../bin/test_build_librados [ 93%] Built target test_build_librados In file included from /builddir/build/BUILD/dsms-storage/src/osd/ExtentCache.h:25, from /builddir/build/BUILD/dsms-storage/src/test/osd/test_extent_cache.cc:17: /builddir/build/BUILD/dsms-storage/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/src/googletest/googletest/include/gtest/gtest.h:57, from /builddir/build/BUILD/dsms-storage/src/test/osd/test_extent_cache.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /usr/bin/gcc -shared -L/builddir/build/BUILD/dsms-storage/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-aarch64-cpython-310/builddir/build/BUILD/dsms-storage/build/src/pybind/rados/rados.o -L/usr/lib64 -L/usr/lib64/python3.10/config-3.10-aarch64-linux-gnu -L/usr/lib64 -lrados -lcrypt -ldl -lm -lm -lpython3.10 -o /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/lib.3/rados.cpython-310-aarch64-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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage/src/include/interval_set.h:23: /builddir/build/BUILD/dsms-storage/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/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/src/test/osd/test_extent_cache.cc:73:24: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ [ 93%] Built target cython_rados In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/osd/SnapMapper.h:28, from /builddir/build/BUILD/dsms-storage/src/test/test_snap_mapper.cc:10: /builddir/build/BUILD/dsms-storage/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/src/test/test_snap_mapper.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/PGLog.h:22, from /builddir/build/BUILD/dsms-storage/src/test/osd/TestPGLog.cc:25: /builddir/build/BUILD/dsms-storage/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/src/googletest/googletest/include/gtest/gtest.h:57, from /builddir/build/BUILD/dsms-storage/src/test/osd/TestPGLog.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/PG.h:35, from /builddir/build/BUILD/dsms-storage/src/osd/OSD.h:18, from /builddir/build/BUILD/dsms-storage/src/ceph_osd.cc:23: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/PG.h:35, from /builddir/build/BUILD/dsms-storage/src/osd/OSD.h:18, from /builddir/build/BUILD/dsms-storage/src/osd/ECBackend.h:21, from /builddir/build/BUILD/dsms-storage/src/test/osd/TestECBackend.cc:19: /builddir/build/BUILD/dsms-storage/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/src/test/osd/TestECBackend.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/tools/RadosDump.h:23, from /builddir/build/BUILD/dsms-storage/src/tools/RadosDump.cc:15: /builddir/build/BUILD/dsms-storage/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/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/osd/osd_op_util.h:9, from /builddir/build/BUILD/dsms-storage/src/osd/OpRequest.h:17, from /builddir/build/BUILD/dsms-storage/src/osd/OSDCap.h:33, from /builddir/build/BUILD/dsms-storage/src/test/osd/osdcap.cc:18: /builddir/build/BUILD/dsms-storage/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/src/test/osd/osdcap.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/PG.h:35, from /builddir/build/BUILD/dsms-storage/src/osd/OSD.h:18, from /builddir/build/BUILD/dsms-storage/src/test/osd/TestOSDScrub.cc:25: /builddir/build/BUILD/dsms-storage/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/src/googletest/googletest/include/gtest/gtest.h:57, from /builddir/build/BUILD/dsms-storage/src/test/osd/TestOSDScrub.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osd/DynamicPerfStats.h:8, from /builddir/build/BUILD/dsms-storage/src/osd/PrimaryLogPG.h:22, from /builddir/build/BUILD/dsms-storage/src/osd/objclass.cc:11: /builddir/build/BUILD/dsms-storage/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/src/common/ceph_context.h:19, from /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/osd/osd_op_util.h:9, from /builddir/build/BUILD/dsms-storage/src/osd/OpRequest.h:17, from /builddir/build/BUILD/dsms-storage/src/osd/scheduler/OpSchedulerItem.h:21, from /builddir/build/BUILD/dsms-storage/src/osd/scheduler/OpScheduler.h:20, from /builddir/build/BUILD/dsms-storage/src/osd/scheduler/mClockScheduler.h:26, from /builddir/build/BUILD/dsms-storage/src/test/osd/TestMClockScheduler.cc:9: /builddir/build/BUILD/dsms-storage/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/src/googletest/googletest/include/gtest/gtest.h:57, from /builddir/build/BUILD/dsms-storage/src/test/osd/TestMClockScheduler.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/PGTransaction.h:22, from /builddir/build/BUILD/dsms-storage/src/test/osd/test_pg_transaction.cc:16: /builddir/build/BUILD/dsms-storage/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/src/googletest/googletest/include/gtest/gtest.h:57, from /builddir/build/BUILD/dsms-storage/src/test/osd/test_pg_transaction.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 93%] Built target rgw_a [ 93%] Building CXX object src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/common_types.cc.o [ 93%] Building CXX object src/rgw/CMakeFiles/rgw.dir/rgw_file.cc.o [ 93%] Building CXX object src/test/CMakeFiles/test_build_librgw.dir/buildtest_skeleton.cc.o [ 93%] Building CXX object src/test/CMakeFiles/test_cors.dir/test_cors.cc.o [ 93%] Building CXX object src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/mds_types.cc.o [ 93%] Building CXX object src/test/CMakeFiles/ceph_test_cls_rgw_meta.dir/test_rgw_admin_meta.cc.o [ 93%] Building CXX object src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/denc_registry.cc.o [ 93%] Building CXX object src/test/CMakeFiles/ceph_test_cls_rgw_log.dir/test_rgw_admin_log.cc.o [ 93%] Building CXX object src/rgw/CMakeFiles/rgw.dir/librgw.cc.o [ 93%] Building CXX object src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/ceph_dencoder.cc.o [ 93%] Building CXX object src/test/rgw/CMakeFiles/unittest_rgw_bencode.dir/test_rgw_bencode.cc.o [ 93%] Building CXX object src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/__/__/include/uuid.cc.o [ 93%] Building CXX object src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/__/__/rgw/rgw_dencoder.cc.o [ 93%] Building CXX object src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/osd_types.cc.o [ 93%] Building CXX object src/test/rgw/CMakeFiles/unittest_rgw_period_history.dir/test_rgw_period_history.cc.o [ 93%] Building CXX object src/test/rgw/CMakeFiles/unittest_rgw_reshard.dir/test_rgw_reshard.cc.o [ 93%] Building CXX object src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/rgw_types.cc.o [ 93%] Building CXX object src/test/rgw/CMakeFiles/unittest_http_manager.dir/test_http_manager.cc.o [ 93%] Building CXX object src/test/rgw/CMakeFiles/unittest_rgw_compression.dir/test_rgw_compression.cc.o [ 93%] Building CXX object src/test/rgw/CMakeFiles/unittest_rgw_reshard_wait.dir/test_rgw_reshard_wait.cc.o [ 93%] Building CXX object src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/rbd_types.cc.o [ 93%] Building CXX object src/test/rgw/CMakeFiles/ceph_test_rgw_throttle.dir/test_rgw_throttle.cc.o [ 93%] Building CXX object src/test/rgw/CMakeFiles/unittest_rgw_amqp.dir/test_rgw_amqp.cc.o [ 93%] Building CXX object src/test/rgw/CMakeFiles/unittest_rgw_iam_policy.dir/test_rgw_iam_policy.cc.o [ 93%] Building CXX object src/test/rgw/CMakeFiles/test_rgw_a.dir/test_rgw_common.cc.o [ 93%] Building CXX object src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/__/__/include/utime.cc.o [ 93%] Building CXX object src/test/rgw/CMakeFiles/unittest_rgw_crypto.dir/test_rgw_crypto.cc.o [ 93%] Building CXX object src/test/rgw/CMakeFiles/unittest_rgw_putobj.dir/test_rgw_putobj.cc.o [ 93%] Building CXX object src/test/rgw/CMakeFiles/unittest_rgw_xml.dir/test_rgw_xml.cc.o [ 93%] Building CXX object src/test/rgw/CMakeFiles/unittest_rgw_arn.dir/test_rgw_arn.cc.o [ 93%] Building CXX object src/test/rgw/CMakeFiles/unittest_rgw_url.dir/test_rgw_url.cc.o [ 93%] Building CXX object src/test/rgw/CMakeFiles/unittest_rgw_kms.dir/test_rgw_kms.cc.o [ 93%] Building CXX object src/rgw/CMakeFiles/radosgw-admin.dir/rgw_orphan.cc.o [ 93%] Building CXX object src/test/rgw/CMakeFiles/ceph_test_rgw_gc_log.dir/test_rgw_gc_log.cc.o [ 93%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_loadgen_process.cc.o [ 93%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_civetweb.cc.o [ 93%] Building CXX object src/rgw/CMakeFiles/radosgw-admin.dir/rgw_admin.cc.o [ 93%] Building CXX object src/rgw/CMakeFiles/ceph_rgw_multiparser.dir/rgw_multiparser.cc.o [ 93%] Building CXX object src/rgw/CMakeFiles/radosgw-es.dir/rgw_es_main.cc.o [ 93%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_civetweb_frontend.cc.o [ 93%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_period_pusher.cc.o [ 93%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_civetweb_log.cc.o [ 93%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_auth_keystone.cc.o [ 93%] Building CXX object src/rgw/CMakeFiles/ceph_rgw_jsonparser.dir/rgw_jsonparser.cc.o [ 93%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_http_client_curl.cc.o [ 93%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_client_io.cc.o [ 93%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_log.cc.o [ 93%] Building CXX object src/rgw/CMakeFiles/radosgw-object-expirer.dir/rgw_object_expirer.cc.o [ 93%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_frontend.cc.o [ 93%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_loadgen.cc.o [ 93%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_realm_reloader.cc.o [ 93%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_realm_watcher.cc.o [ 93%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_process.cc.o [ 94%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_rest_config.cc.o [ 94%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_os_lib.cc.o [ 94%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_rest_log.cc.o [ 94%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_rest_bucket.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage/src/tools/ceph_objectstore_tool.cc:29: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 94%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_rest_realm.cc.o [ 94%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_rest_metadata.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/PGTransaction.h:22, from /builddir/build/BUILD/dsms-storage/src/test/osd/test_ec_transaction.cc:16: /builddir/build/BUILD/dsms-storage/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/src/googletest/googletest/include/gtest/gtest.h:57, from /builddir/build/BUILD/dsms-storage/src/test/osd/test_ec_transaction.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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 94%] Linking CXX executable ../../bin/test_build_librgw In file included from /builddir/build/BUILD/dsms-storage/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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 | ^~~~~~~~ [ 94%] Built target test_build_librgw [ 94%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_rest_swift.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/Paxos.h:121, from /builddir/build/BUILD/dsms-storage/src/mon/PaxosService.h:19, from /builddir/build/BUILD/dsms-storage/src/mon/AuthMonitor.h:24, from /builddir/build/BUILD/dsms-storage/src/tools/rebuild_mondb.cc:3: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage/src/auth/KeyRing.h:18, from /builddir/build/BUILD/dsms-storage/src/auth/cephx/CephxKeyServer.h:18, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 94%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_rest_usage.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/osd/PG.h:36: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/osd/PG.h:36: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/osd/PG.h:36: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/osd/PG.h:36, from /builddir/build/BUILD/dsms-storage/src/osd/OSD.h:18, from /builddir/build/BUILD/dsms-storage/src/osd/DynamicPerfStats.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 94%] Linking CXX executable ../../../bin/unittest_extent_cache [ 94%] Linking CXX executable ../../../bin/unittest_hitset In file included from /builddir/build/BUILD/dsms-storage/src/osd/PG.h:36, from /builddir/build/BUILD/dsms-storage/src/osd/scheduler/OpSchedulerItem.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 94%] Linking CXX executable ../../../bin/unittest_rgw_url In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_gc_log.h:6, from /builddir/build/BUILD/dsms-storage/src/test/rgw/test_rgw_gc_log.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ [ 94%] Built target unittest_extent_cache [ 94%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_rest_user.cc.o [ 94%] Built target unittest_hitset [ 94%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_swift_auth.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/tools/RadosDump.h:21: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/buffer.h:59, from /builddir/build/BUILD/dsms-storage/src/test/test_snap_mapper.cc:8: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 94%] Linking CXX executable ../../../bin/unittest_rgw_arn /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 94%] Built target unittest_rgw_url [ 94%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_usage.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/os/filestore/LFNIndex.h:27, from /builddir/build/BUILD/dsms-storage/src/os/filestore/HashIndex.h:20, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileStore.h:42, from /builddir/build/BUILD/dsms-storage/src/tools/ceph_objectstore_tool.cc:31: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/common/map_cacher.hpp:18, from /builddir/build/BUILD/dsms-storage/src/test/test_snap_mapper.cc:9: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/PGLog.h:20: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage/src/test/rgw/test_http_manager.cc:14: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage/src/librbd/journal/Types.h:13, from /builddir/build/BUILD/dsms-storage/src/tools/ceph-dencoder/rbd_types.h:2, from /builddir/build/BUILD/dsms-storage/src/tools/ceph-dencoder/rbd_types.cc:15: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:33: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/rgw/rgw_realm_watcher.h:7, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_realm_watcher.cc:6: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 94%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_opa.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/osd/PG.h:36, from /builddir/build/BUILD/dsms-storage/src/osd/OSD.h:18, from /builddir/build/BUILD/dsms-storage/src/tools/ceph_objectstore_tool.cc:37: /builddir/build/BUILD/dsms-storage/src/include/xlist.h: At global scope: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage/src/tools/ceph-dencoder/rgw_types.h:3, from /builddir/build/BUILD/dsms-storage/src/tools/ceph-dencoder/rgw_types.cc:15: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/PG.h:36, from /builddir/build/BUILD/dsms-storage/src/osd/OSD.h:18, from /builddir/build/BUILD/dsms-storage/src/osd/ECTransaction.h:18, from /builddir/build/BUILD/dsms-storage/src/test/osd/test_ec_transaction.cc:17: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/test/test_cors.cc:8: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_torrent.h:14, from /builddir/build/BUILD/dsms-storage/src/test/rgw/test_rgw_bencode.cc:5: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/googletest/googletest/include/gtest/gtest.h:57, from /builddir/build/BUILD/dsms-storage/src/test/rgw/test_rgw_bencode.cc:3: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 94%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_sts.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_client_io.h:17, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_civetweb.h:8, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_civetweb.cc:10: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/stringify.h:7, from /builddir/build/BUILD/dsms-storage/src/test/osd/osdcap.cc:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/rgw/rgw_realm_watcher.h:7, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_realm_reloader.h:7, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_period_pusher.h:11, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_period_pusher.cc:7: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/rgw/rgw_realm_watcher.h:7, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_realm_reloader.h:7, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_realm_reloader.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_reshard.h:17, from /builddir/build/BUILD/dsms-storage/src/test/rgw/test_rgw_reshard_wait.cc:15: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/rgw/rgw_reshard.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/src/rgw/rgw_reshard.h:17, from /builddir/build/BUILD/dsms-storage/src/test/rgw/test_rgw_reshard.cc:15: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/rgw/rgw_reshard.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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_obj_manifest.h:18, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_multi.h:9, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_multiparser.cc:11: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_civetweb_log.cc:5: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 94%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_rest_sts.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_jsonparser.cc:15: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 94%] Linking CXX executable ../../../bin/unittest_rgw_putobj /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_dencoder.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_client_io.h:17, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_client_io.cc:8: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/test_rgw_admin_log.cc:28: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage/src/test/rgw/test_rgw_period_history.cc:15: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/rgw/rgw_period_history.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rgw/test_rgw_period_history.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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_auth_keystone.cc:17: /builddir/build/BUILD/dsms-storage/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/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/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/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, | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_request.h:7, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_frontend.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_http_client_curl.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_http_client_curl.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/test/test_rgw_admin_meta.cc:27: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_lib.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_file.cc:10: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_bucket.h:11, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_log.cc:10: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_request.h:7, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_frontend.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_civetweb_frontend.cc:9: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_client_io.h:17, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_loadgen.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_loadgen.cc:8: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/test/rgw/test_rgw_common.h:17, from /builddir/build/BUILD/dsms-storage/src/test/rgw/test_rgw_common.cc:1: /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_request.h:7, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_frontend.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_frontend.cc:6: /builddir/build/BUILD/dsms-storage/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/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/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); | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/test/rgw/test_rgw_crypto.cc:17: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 94%] Built target unittest_rgw_putobj /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_config.cc:18: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 94%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_main.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_bucket.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_realm.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_realm.cc:5: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_log.cc:18: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/hobject.h:18, from /builddir/build/BUILD/dsms-storage/src/osd/PGTransaction.h:21: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 94%] Linking CXX executable ../../bin/radosgw-es In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_metadata.cc:18: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_orphan.cc:11: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_os_lib.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/msg/Message.h:24, from /builddir/build/BUILD/dsms-storage/src/tools/ceph-dencoder/denc_registry.h:9, from /builddir/build/BUILD/dsms-storage/src/tools/ceph-dencoder/denc_registry.cc:1: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/tools/ceph-dencoder/osd_types.h:1, from /builddir/build/BUILD/dsms-storage/src/tools/ceph-dencoder/osd_types.cc:15: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/services/svc_rados.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_aio_throttle.h:23, from /builddir/build/BUILD/dsms-storage/src/test/rgw/test_rgw_throttle.cc:15: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_reshard.h:23: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_compression.h:11, from /builddir/build/BUILD/dsms-storage/src/test/rgw/test_rgw_compression.cc:5: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_reshard.h:23: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_swift.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_swift.cc:16: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_usage.cc:7: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_usage.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/tools/ceph-dencoder/ceph_dencoder.cc:18: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 94%] Linking CXX executable ../../../bin/ceph_test_rgw_gc_log In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_tools.h:14, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_realm_watcher.cc:7: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_user.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_object_expirer.cc:24: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_loadgen_process.cc:8: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage/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/src/cls/rgw/cls_rgw_client.h:8, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_admin.cc:29: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/test/rgw/test_rgw_kms.cc:7: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_process.cc:9: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:15, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_realm_reloader.cc:5: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_auth.h:14, from /builddir/build/BUILD/dsms-storage/src/test/rgw/test_rgw_iam_policy.cc:26: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 94%] Linking CXX executable ../../../bin/unittest_rgw_xml [ 94%] Built target ceph_test_rgw_gc_log In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/common/config.h:18, from /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/librgw.cc:40: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/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/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage/src/mds/JournalPointer.h:20, from /builddir/build/BUILD/dsms-storage/src/tools/ceph-dencoder/mds_types.h:2, from /builddir/build/BUILD/dsms-storage/src/tools/ceph-dencoder/mds_types.cc:15: /builddir/build/BUILD/dsms-storage/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/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_swift_auth.h:7, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_swift_auth.cc:12: /builddir/build/BUILD/dsms-storage/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/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/global/global_init.h:22, from /builddir/build/BUILD/dsms-storage/src/test/osd/TestMClockScheduler.cc:6: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 94%] Built target unittest_rgw_xml In file included from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage/src/messages/MAuth.h:24, from /builddir/build/BUILD/dsms-storage/src/tools/ceph-dencoder/common_types.h:94, from /builddir/build/BUILD/dsms-storage/src/tools/ceph-dencoder/common_types.cc:15: /builddir/build/BUILD/dsms-storage/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/src/tools/ceph-dencoder/ceph_time.h:4, from /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_user.cc:6: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_user.h:12, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_admin.cc:36: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/cls/rbd/cls_rbd_types.h:10: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/rgw/rgw_jsonparser.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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_coroutine.h:26, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cr_rest.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_period_pusher.cc:8: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/rgw/rgw_multiparser.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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/osd/scheduler/OpScheduler.h:19: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/include/utime.h:18, from /builddir/build/BUILD/dsms-storage/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/test/rgw/test_rgw_common.h: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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_opa.h:7, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_opa.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_client_io.h:16: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/googletest/googletest/include/gtest/gtest.h:57, from /builddir/build/BUILD/dsms-storage/src/test/rgw/test_rgw_kms.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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage/src/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/ceph_json.h:4, from /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/ceph_json.h:4, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39, from /builddir/build/BUILD/dsms-storage/src/test/test_rgw_admin_log.cc:35: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/test/test_rgw_admin_log.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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_sts.cc:14: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/test/rgw/test_rgw_crypto.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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/test/rgw/test_rgw_iam_policy.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/src/rgw/rgw_common.h:39, from /builddir/build/BUILD/dsms-storage/src/test/test_rgw_admin_meta.cc:34: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/test/test_rgw_admin_meta.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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_jsonparser.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/googletest/googletest/include/gtest/gtest.h:57, from /builddir/build/BUILD/dsms-storage/src/test/rgw/test_rgw_compression.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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/mempool.h:31, from /builddir/build/BUILD/dsms-storage/src/osd/PG.h:27: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/src/rgw/rgw_aio_throttle.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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_multiparser.cc:9: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/mempool.h:31, from /builddir/build/BUILD/dsms-storage/src/osd/PG.h:27: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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] In file included from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:31, from /builddir/build/BUILD/dsms-storage/src/osd/PG.h:27: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/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/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage/src/mon/Paxos.h:121, from /builddir/build/BUILD/dsms-storage/src/mon/PaxosService.h:19, from /builddir/build/BUILD/dsms-storage/src/mon/AuthMonitor.h:24, from /builddir/build/BUILD/dsms-storage/src/tools/ceph-dencoder/osd_types.h:108: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_basic_types.h:9, from /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_types.h:14, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_reshard.h:20: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/cmdparse.h:10, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:31: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_sts.cc:22: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage/src/common/Cond.h:19, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_realm_watcher.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_basic_types.h:9, from /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_types.h:14, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_reshard.h:20: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/test_cors.cc: In function 'void send_cors(std::set >, std::set >, std::__cxx11::list >, uint8_t, unsigned int)': /builddir/build/BUILD/dsms-storage/src/test/test_cors.cc:345:8: warning: array subscript -7 is outside array bounds of 'RGWCORSConfiguration [1]' [-Warray-bounds] 345 | s3 = static_cast(&config); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/test/test_cors.cc:341:26: note: at offset -176 into object 'config' of size 24 341 | RGWCORSConfiguration config; | ^~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/hobject.h:18, from /builddir/build/BUILD/dsms-storage/src/osd/PGTransaction.h:21: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:32: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 94%] Linking CXX static library ../../../lib/librbd_test.a /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 94%] Linking CXX executable ../../../bin/unittest_rgw_amqp /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:32: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage/src/include/mempool.h:32: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/ceph_json.h:4, from /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 94%] Built target unittest_rgw_amqp /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage/src/osdc/Journaler.h:63, from /builddir/build/BUILD/dsms-storage/src/tools/ceph-dencoder/mds_types.h:5: /builddir/build/BUILD/dsms-storage/src/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage/src/tools/ceph_objectstore_tool.cc:24: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/cls/cas/cls_cas_ops.h:126:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_main.cc:16: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_object_expirer.cc:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/test/rgw/test_rgw_common.h:15: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage/src/common/Cond.h:19, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_realm_watcher.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_period_history.h:12: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/os/filestore/LFNIndex.h:27, from /builddir/build/BUILD/dsms-storage/src/os/filestore/HashIndex.h:20, from /builddir/build/BUILD/dsms-storage/src/os/filestore/FileStore.h:42, from /builddir/build/BUILD/dsms-storage/src/tools/ceph-dencoder/osd_types.h:144: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_frontend.h:11, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_loadgen_process.cc:10: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/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/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/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/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/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/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_frontend.h:11, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_http_client_curl.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_admin.cc:56: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_frontend.h:11: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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, | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 94%] Linking CXX executable ../../bin/ceph_rgw_multiparser /builddir/build/BUILD/dsms-storage/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/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/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/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_frontend.h:11, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_lib.h:14: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_frontend.h:11: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_frontend.h:11, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_process.cc:12: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/cls/cas/cls_cas_ops.h:126:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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, | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 94%] Linking CXX executable ../../../bin/unittest_pg_transaction /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_frontend.h:11, from /builddir/build/BUILD/dsms-storage/src/rgw/librgw.cc:44: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_frontend.h:11: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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, | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 94%] Linking CXX executable ../../bin/ceph_test_snap_mapper /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 94%] Linking CXX executable ../../bin/ceph_rgw_jsonparser /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/common/ceph_argparse.h:26, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_orphan.cc:7: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_frontend.h:11, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_lib.h:14, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_os_lib.h:9, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_os_lib.cc:7: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_client_io.h:16: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying [ 94%] Built target unittest_pg_transaction /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage/src/common/Cond.h:19, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_realm_watcher.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:32: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 94%] Built target unittest_rgw_arn /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/btree_map.h:9, from /builddir/build/BUILD/dsms-storage/src/osd/OSDMap.h:34: /builddir/build/BUILD/dsms-storage/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/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/include/stringify.h:7, from /builddir/build/BUILD/dsms-storage/src/test/rgw/test_rgw_iam_policy.cc:22: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_auth_keystone.cc:13: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 94%] Linking CXX executable ../../../bin/unittest_rgw_reshard_wait /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_swift.cc:27: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/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/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/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/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/test/rgw/test_rgw_kms.cc:6: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/sstring.hh:33, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:32: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_client_io.h:16: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 94%] Built target ceph_test_snap_mapper /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/common/Throttle.h:14, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_loadgen_process.cc:5: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/sstring.hh:33, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/src/osd/ECTransaction.h:74:40: required from 'ECTransaction::WritePlan ECTransaction::get_write_plan(const ECUtil::stripe_info_t&, PGTransactionUPtr&&, F&&, DoutPrefixProvider*) [with F = ectransaction_two_writes_separated_Test::TestBody()::; PGTransactionUPtr = std::unique_ptr]' /builddir/build/BUILD/dsms-storage/src/test/osd/test_ec_transaction.cc:41:44: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage/src/test/rgw/test_rgw_crypto.cc:16: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/common/Throttle.h:14, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_process.cc:5: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 94%] Linking CXX executable ../../../bin/unittest_rgw_reshard /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying [ 94%] Built target rbd_test /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/src/rgw/rgw_rest_swift.cc:1360:19: note: use reference type to prevent copying 1360 | for (const auto kv : response_attrs) { | ^~ | & /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 94%] Building CXX object src/test/librbd/CMakeFiles/ceph_test_librbd.dir/test_main.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 94%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/test_mock_ConfigWatcher.cc.o [ 94%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/test_mock_DeepCopyRequest.cc.o [ 94%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/test_mock_ExclusiveLock.cc.o [ 94%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/test_mock_Journal.cc.o [ 94%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/test_main.cc.o [ 94%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/test_mock_TrashWatcher.cc.o [ 94%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/test_mock_ManagedLock.cc.o [ 94%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/test_mock_ObjectMap.cc.o [ 94%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/test_mock_Watcher.cc.o [ 94%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/cache/test_mock_WriteAroundObjectDispatch.cc.o [ 94%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/cache/test_mock_ParentCacheObjectDispatch.cc.o [ 94%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/test_mock_fixture.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 94%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/deep_copy/test_mock_ImageCopyRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_op.h:32: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 94%] Linking CXX executable ../../bin/test_cors /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rados.h:11: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/test/librbd/test_main.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/test/librbd/test_main.cc:4: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/common/sstring.hh:33, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_sts.cc:12: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 94%] Built target test_cors /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 94%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/deep_copy/test_mock_MetadataCopyRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying [ 94%] Linking CXX executable ../../bin/radosgw-object-expirer /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 94%] Built target radosgw-es /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 94%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/deep_copy/test_mock_ObjectCopyRequest.cc.o [ 94%] Linking CXX executable ../../../bin/ceph_test_librbd /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 94%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/deep_copy/test_mock_SetHeadRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_swift.cc:14: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/btree_map.h:10: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 94%] Linking CXX executable ../../../bin/unittest_rgw_bencode /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_sts.cc:24: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/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/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/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/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 94%] Built target unittest_rgw_bencode [ 94%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/deep_copy/test_mock_SnapshotCopyRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/cache/test_mock_WriteAroundObjectDispatch.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_TrashWatcher.cc:4: /builddir/build/BUILD/dsms-storage/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/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 /usr/include/boost/asio/detail/handler_work.hpp:27, from /usr/include/boost/asio/detail/completion_handler.hpp:21, from /usr/include/boost/asio/impl/io_context.hpp:18, from /usr/include/boost/asio/io_context.hpp:1523, from /usr/include/boost/asio/detail/io_object_impl.hpp:23, from /usr/include/boost/asio/basic_socket.hpp:22, from /usr/include/boost/asio/basic_datagram_socket.hpp:20, from /usr/include/boost/asio.hpp:31, from /builddir/build/BUILD/dsms-storage/src/common/async/bind_handler.h:19, from /builddir/build/BUILD/dsms-storage/src/common/async/completion.h:20, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_aio_throttle.h:21: In destructor 'boost::asio::executor_work_guard::value>::type>::~executor_work_guard() [with Executor = boost::asio::io_context::basic_executor_type, 0>]', inlined from 'constexpr void std::_Optional_payload_base<_Tp>::_M_destroy() [with _Tp = boost::asio::executor_work_guard, 0> >]' at /usr/include/c++/12/optional:287:35, inlined from 'constexpr void std::_Optional_payload_base<_Tp>::_M_reset() [with _Tp = boost::asio::executor_work_guard, 0> >]' at /usr/include/c++/12/optional:318:14, inlined from 'std::_Optional_payload<_Tp, false, _Copy, _Move>::~_Optional_payload() [with _Tp = boost::asio::executor_work_guard, 0> >; bool _Copy = false; bool _Move = false]' at /usr/include/c++/12/optional:439:65, inlined from 'std::_Optional_base, 0> >, false, false>::~_Optional_base()' at /usr/include/c++/12/optional:510:12, inlined from 'std::optional, 0> > >::~optional()' at /usr/include/c++/12/optional:705:11, inlined from 'virtual void rgw::Aio_Throttle_ThrottleOverMax_Test::TestBody()' at /builddir/build/BUILD/dsms-storage/src/test/rgw/test_rgw_throttle.cc:167:1: /usr/include/boost/asio/executor_work_guard.hpp:123:9: warning: '*(boost::asio::executor_work_guard, 0>, void, void>*)((char*)&work + offsetof(std::optional, 0>, void, void> >,std::optional, 0>, void, void> >::.std::_Optional_base, 0>, void, void>, false, false>::)).boost::asio::executor_work_guard, 0> >::owns_' may be used uninitialized [-Wmaybe-uninitialized] 123 | if (owns_) | ^~~~~ /builddir/build/BUILD/dsms-storage/src/test/rgw/test_rgw_throttle.cc: In member function 'virtual void rgw::Aio_Throttle_ThrottleOverMax_Test::TestBody()': /builddir/build/BUILD/dsms-storage/src/test/rgw/test_rgw_throttle.cc:147:23: note: 'work' declared here 147 | std::optional work(context.get_executor()); | ^~~~ In member function 'boost::asio::io_context* boost::asio::io_context::basic_executor_type::context_ptr() const [with Allocator = std::allocator; long unsigned int Bits = 0]', inlined from 'void boost::asio::io_context::basic_executor_type::on_work_finished() const [with Allocator = std::allocator; long unsigned int Bits = 0]' at /usr/include/boost/asio/impl/io_context.hpp:343:14, inlined from 'boost::asio::executor_work_guard::value>::type>::~executor_work_guard() [with Executor = boost::asio::io_context::basic_executor_type, 0>]' at /usr/include/boost/asio/executor_work_guard.hpp:124:33, inlined from 'boost::asio::executor_work_guard::value>::type>::~executor_work_guard() [with Executor = boost::asio::io_context::basic_executor_type, 0>]' at /usr/include/boost/asio/executor_work_guard.hpp:121:3, inlined from 'constexpr void std::_Optional_payload_base<_Tp>::_M_destroy() [with _Tp = boost::asio::executor_work_guard, 0> >]' at /usr/include/c++/12/optional:287:35, inlined from 'constexpr void std::_Optional_payload_base<_Tp>::_M_reset() [with _Tp = boost::asio::executor_work_guard, 0> >]' at /usr/include/c++/12/optional:318:14, inlined from 'std::_Optional_payload<_Tp, false, _Copy, _Move>::~_Optional_payload() [with _Tp = boost::asio::executor_work_guard, 0> >; bool _Copy = false; bool _Move = false]' at /usr/include/c++/12/optional:439:65, inlined from 'std::_Optional_base, 0> >, false, false>::~_Optional_base()' at /usr/include/c++/12/optional:510:12, inlined from 'std::optional, 0> > >::~optional()' at /usr/include/c++/12/optional:705:11, inlined from 'virtual void rgw::Aio_Throttle_ThrottleOverMax_Test::TestBody()' at /builddir/build/BUILD/dsms-storage/src/test/rgw/test_rgw_throttle.cc:167:1: /usr/include/boost/asio/io_context.hpp:1117:42: warning: '*(const boost::asio::io_context::basic_executor_type, 0>*)((char*)&work + offsetof(std::optional, 0>, void, void> >,std::optional, 0>, void, void> >::.std::_Optional_base, 0>, void, void>, false, false>::)).boost::asio::io_context::basic_executor_type, 0>::target_' may be used uninitialized [-Wmaybe-uninitialized] 1117 | return reinterpret_cast(target_ & ~runtime_bits); | ^~~~~~~ /builddir/build/BUILD/dsms-storage/src/test/rgw/test_rgw_throttle.cc: In member function 'virtual void rgw::Aio_Throttle_ThrottleOverMax_Test::TestBody()': /builddir/build/BUILD/dsms-storage/src/test/rgw/test_rgw_throttle.cc:147:23: note: 'work' declared here 147 | std::optional work(context.get_executor()); | ^~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_ManagedLock.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_DeepCopyRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_Watcher.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_ObjectMap.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_ConfigWatcher.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/deep_copy/test_mock_ImageCopyRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_ExclusiveLock.cc:4: /builddir/build/BUILD/dsms-storage/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/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 | ^~~~~~~~ [ 94%] Linking CXX static library ../../../lib/libtest_rgw_a.a In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_Journal.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 94%] Linking CXX executable ../../../bin/unittest_mclock_scheduler /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/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/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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 94%] Linking CXX executable ../../../bin/unittest_http_manager [ 94%] Built target test_rgw_a [ 94%] Building CXX object src/test/rgw/CMakeFiles/ceph_test_rgw_manifest.dir/test_rgw_manifest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_main.cc:31: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/cache/test_mock_ParentCacheObjectDispatch.cc:4: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/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/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/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/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/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_rest_sts.cc:20: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_admin.cc:15: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 94%] Building CXX object src/test/rgw/CMakeFiles/ceph_test_rgw_obj.dir/test_rgw_obj.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/deep_copy/test_mock_MetadataCopyRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 94%] Linking CXX executable ../../../bin/ceph_test_rgw_throttle /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 94%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/deep_copy/test_mock_SnapshotCreateRequest.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/deep_copy/test_mock_ObjectCopyRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/deep_copy/test_mock_SetHeadRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h: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/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/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 94%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/exclusive_lock/test_mock_PreAcquireRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 94%] Linking CXX executable ../../../bin/unittest_ecbackend [ 95%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/exclusive_lock/test_mock_PostAcquireRequest.cc.o [ 95%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/exclusive_lock/test_mock_PreReleaseRequest.cc.o In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from /usr/include/boost/container/detail/copy_move_algo.hpp:39, from /usr/include/boost/container/detail/advanced_insert_int.hpp:28, from /usr/include/boost/container/vector.hpp:32, from /usr/include/boost/container/small_vector.hpp:27, from /builddir/build/BUILD/dsms-storage/src/include/encoding.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/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/deep_copy/test_mock_SnapshotCopyRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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 | ^~~~~~~~ [ 95%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/image/test_mock_AttachChildRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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%] Built target unittest_ecbackend In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/image/test_mock_AttachParentRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/unittest_rgw_compression [ 95%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/image/test_mock_CloneRequest.cc.o [ 95%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/image/test_mock_DetachChildRequest.cc.o [ 95%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/image/test_mock_DetachParentRequest.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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 /usr/include/string.h:535, from /builddir/build/BUILD/dsms-storage/src/googletest/googletest/include/gtest/internal/gtest-port.h:251, from /builddir/build/BUILD/dsms-storage/src/googletest/googletest/include/gtest/internal/gtest-internal.h:40, from /builddir/build/BUILD/dsms-storage/src/googletest/googletest/include/gtest/gtest.h:62: 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/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public 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/unittest_rgw_period_history In file included from /builddir/build/BUILD/dsms-storage/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public 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/unittest_osdscrub In file included from /builddir/build/BUILD/dsms-storage/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 95%] Built target unittest_rgw_compression In file included from /builddir/build/BUILD/dsms-storage/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 95%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/image/test_mock_ListWatchersRequest.cc.o [ 95%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/image/test_mock_PreRemoveRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/deep_copy/test_mock_SnapshotCreateRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/image/test_mock_RefreshRequest.cc.o [ 95%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/image/test_mock_RemoveRequest.cc.o [ 95%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/image/test_mock_ValidatePoolRequest.cc.o [ 95%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/io/test_mock_CopyupRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/exclusive_lock/test_mock_PreAcquireRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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 | ^~~~~~~~ [ 95%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/io/test_mock_ImageRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public 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/ceph_test_cls_rgw_meta In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/exclusive_lock/test_mock_PreReleaseRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/exclusive_lock/test_mock_PostAcquireRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 95%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/io/test_mock_ImageRequestWQ.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/image/test_mock_AttachChildRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/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/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/src/include/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/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/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 95%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/io/test_mock_ObjectRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/image/test_mock_AttachParentRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/test/rgw/test_rgw_obj.cc:17: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 95%] Built target unittest_mclock_scheduler [ 95%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/io/test_mock_SimpleSchedulerObjectDispatch.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/test/rgw/test_rgw_manifest.cc:17: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ [ 95%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/journal/test_mock_OpenRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/image/test_mock_CloneRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/image/test_mock_DetachParentRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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 | ^~~~~~~~ [ 95%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/journal/test_mock_PromoteRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/image/test_mock_DetachChildRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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 | ^~~~~~~~ [ 95%] Built target ceph_rgw_multiparser [ 95%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/journal/test_mock_Replay.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 95%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/journal/test_mock_ResetRequest.cc.o [ 95%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/managed_lock/test_mock_AcquireRequest.cc.o [ 95%] Built target ceph_rgw_jsonparser [ 96%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/managed_lock/test_mock_BreakRequest.cc.o [ 96%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/managed_lock/test_mock_GetLockerRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/image/test_mock_ListWatchersRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 96%] Linking CXX executable ../../../bin/unittest_rgw_kms /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/image/test_mock_PreRemoveRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Linking CXX executable ../../../bin/unittest_rgw_crypto [ 96%] Linking CXX executable ../bin/ceph-osd /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/image/test_mock_RemoveRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/image/test_mock_RefreshRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/image/test_mock_ValidatePoolRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage/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/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/src/mds/InoTable.h:82:17: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mds/SnapServer.h:87:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/../rados/buffer.h:59, from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:22: /builddir/build/BUILD/dsms-storage/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/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/src/librbd/cache/WriteAroundObjectDispatch.cc:520:31: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ 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/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/common/Readahead.h:10, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:19: /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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 96%] Built target unittest_rgw_reshard_wait [ 96%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/managed_lock/test_mock_ReacquireRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/io/test_mock_CopyupRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/io/test_mock_ImageRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: 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 src/test/librbd/CMakeFiles/unittest_librbd.dir/managed_lock/test_mock_ReleaseRequest.cc.o [ 96%] Built target unittest_rgw_reshard [ 96%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/mirror/snapshot/test_mock_CreateNonPrimaryRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: 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 src/test/librbd/CMakeFiles/unittest_librbd.dir/mirror/snapshot/test_mock_CreatePrimaryRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/io/test_mock_ImageRequestWQ.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 96%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/mirror/snapshot/test_mock_ImageMeta.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/io/test_mock_ObjectRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/journal/test_mock_PromoteRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from '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/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/journal/test_mock_OpenRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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%] Built target ceph_test_librbd In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/test/rgw/test_rgw_obj.cc:14: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 96%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/mirror/snapshot/test_mock_PromoteRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/journal/test_mock_Replay.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mds/SnapServer.h:87:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mds/SnapServer.h:89:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/journal/test_mock_ResetRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage/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/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/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/managed_lock/test_mock_AcquireRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/tools/ceph-dencoder/ceph_time.h:6: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/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/src/include/denc.h:1554:23: required 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/src/cls/refcount/cls_refcount_ops.h:135:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/managed_lock/test_mock_GetLockerRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/managed_lock/test_mock_BreakRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/test/rgw/test_rgw_manifest.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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/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/src/include/denc.h:1554:23: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/io/test_mock_SimpleSchedulerObjectDispatch.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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 src/test/librbd/CMakeFiles/unittest_librbd.dir/mirror/snapshot/test_mock_UnlinkPeerRequest.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Linking CXX executable ../../../bin/unittest_ec_transaction [ 96%] Built target radosgw-object-expirer [ 96%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/mirror/snapshot/test_mock_Utils.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/test/librbd/deep_copy/test_mock_MetadataCopyRequest.cc:111:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MClientSession.h:88:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/messages/MConfig.h:39:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/test/librbd/deep_copy/test_mock_ObjectCopyRequest.cc: In member function 'virtual void librbd::deep_copy::TestMockDeepCopyObjectCopyRequest_ObjectMapUpdateError_Test::TestBody()': /builddir/build/BUILD/dsms-storage/src/test/librbd/deep_copy/test_mock_ObjectCopyRequest.cc:958:35: warning: unused variable 'mock_dst_io_ctx' [-Wunused-variable] 958 | librados::MockTestMemIoCtxImpl &mock_dst_io_ctx(get_mock_io_ctx( | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage/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/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/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/test/librbd/deep_copy/test_mock_MetadataCopyRequest.cc:111:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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%] Built target unittest_ec_transaction [ 96%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/mirror/test_mock_DisableRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrConfigure.h:61:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 96%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/object_map/test_mock_DiffRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMonPaxos.h:108:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage/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/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 In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/managed_lock/test_mock_ReacquireRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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 | ^~~~~~~~ [ 96%] Linking CXX executable ../../../bin/unittest_rbd_mirror /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MPGStats.h:56:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 96%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/object_map/test_mock_InvalidateRequest.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mirror/snapshot/test_mock_CreateNonPrimaryRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/managed_lock/test_mock_ReleaseRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/cls/refcount/cls_refcount_ops.h:135:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage/src/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/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 [ 96%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/object_map/test_mock_LockRequest.cc.o /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mirror/snapshot/test_mock_ImageMeta.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MClientSession.h:88:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/messages/MConfig.h:39:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 96%] Built target unittest_http_manager [ 96%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/object_map/test_mock_RefreshRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mirror/snapshot/test_mock_CreatePrimaryRequest.cc:5: /builddir/build/BUILD/dsms-storage/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/src/include/stringify.h:4, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mirror/snapshot/test_mock_CreatePrimaryRequest.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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMgrConfigure.h:61:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MMonPaxos.h:108:11: required from here /builddir/build/BUILD/dsms-storage/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/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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MPGStats.h:56:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mirror/snapshot/test_mock_UnlinkPeerRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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%] Built target ceph_test_rgw_throttle In file included from /builddir/build/BUILD/dsms-storage/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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 src/test/librbd/CMakeFiles/unittest_librbd.dir/object_map/test_mock_ResizeRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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%] Linking CXX executable ../../bin/ceph_test_cls_rgw_log /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mirror/snapshot/test_mock_PromoteRequest.cc:5: /builddir/build/BUILD/dsms-storage/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/src/include/stringify.h:4, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mirror/snapshot/test_mock_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 /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/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/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/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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage/src/test/rgw/test_rgw_obj.cc:15: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mirror/test_mock_DisableRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required 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/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/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/object_map/test_mock_DiffRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mirror/snapshot/test_mock_Utils.cc:5: /builddir/build/BUILD/dsms-storage/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/src/include/stringify.h:4, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mirror/snapshot/test_mock_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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage/src/test/rgw/test_rgw_manifest.cc:16: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In 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/src/include/denc.h:1554:23: required from 'std::enable_if_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/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/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/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/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/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/src/tools/ceph-dencoder/denc_registry.h:129:8: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/src/include/denc.h:981:22: required from 'static void _denc::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/src/include/denc.h:1556:17: required from 'std::enable_if_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/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/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/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/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/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/src/tools/ceph-dencoder/denc_registry.h:129:8: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/object_map/test_mock_InvalidateRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with 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/src/include/denc.h: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/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/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/object_map/test_mock_LockRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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 | ^~~~~~~~ [ 96%] Built target unittest_osdscrub [ 96%] Built target unittest_rgw_period_history [ 96%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/object_map/test_mock_SnapshotCreateRequest.cc.o [ 96%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/object_map/test_mock_SnapshotRemoveRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_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/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/rbd/../rados/buffer.h:59, from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:22: /builddir/build/BUILD/dsms-storage/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/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/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/src/librbd/deep_copy/ObjectCopyRequest.cc:1071:35: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/object_map/test_mock_RefreshRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 96%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/object_map/test_mock_SnapshotRollbackRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h:1556:17: required 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/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/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/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 src/test/librbd/CMakeFiles/unittest_librbd.dir/object_map/test_mock_UnlockRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/object_map/test_mock_ResizeRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 96%] Built target ceph_test_cls_rgw_meta [ 96%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/object_map/test_mock_UpdateRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::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/src/include/denc.h: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/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/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/src/include/denc.h:1556: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/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage/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/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 /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/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/common/Readahead.h:10, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:19: /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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/object_map/test_mock_SnapshotCreateRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/object_map/test_mock_SnapshotRemoveRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 /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/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/common/Readahead.h:10, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:19: /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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/object_map/test_mock_SnapshotRollbackRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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 | ^~~~~~~~ [ 96%] Built target unittest_rgw_kms In file included from /builddir/build/BUILD/dsms-storage/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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 src/test/librbd/CMakeFiles/unittest_librbd.dir/operation/test_mock_DisableFeaturesRequest.cc.o [ 96%] Built target unittest_rgw_crypto [ 97%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/operation/test_mock_EnableFeaturesRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/object_map/test_mock_UnlockRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/object_map/test_mock_UpdateRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 97%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/operation/test_mock_Request.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/../rados/buffer.h:59, from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:22: /builddir/build/BUILD/dsms-storage/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/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/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/src/librbd/io/ImageRequestWQ.cc:1252:28: required from here /builddir/build/BUILD/dsms-storage/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/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/operation/test_mock_DisableFeaturesRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/operation/test_mock_EnableFeaturesRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/test/librbd/mirror/snapshot/test_mock_ImageMeta.cc:64:17: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/test/librbd/io/test_mock_CopyupRequest.cc:235:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/test/librbd/mirror/snapshot/test_mock_ImageMeta.cc:64:17: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::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/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 97%] Linking CXX shared library ../../lib/librgw.so In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 97%] Linking CXX executable ../../../bin/ceph_test_rgw_obj /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 97%] Linking CXX shared library ../../lib/libradosgw.so In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/operation/test_mock_Request.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 97%] Built target ceph-osd [ 97%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/operation/test_mock_ResizeRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 98%] Linking CXX executable ../../../bin/unittest_rgw_iam_policy [ 98%] Built target ceph_test_cls_rgw_log [ 98%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/operation/test_mock_SnapshotCreateRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 98%] Linking CXX executable ../../../bin/ceph_test_rgw_manifest /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/operation/test_mock_ResizeRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/operation/test_mock_SnapshotCreateRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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 | ^~~~~~~~ [ 98%] Linking CXX executable ../../../bin/unittest_pglog /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 98%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/operation/test_mock_SnapshotProtectRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 98%] Built target unittest_rbd_mirror [ 98%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/operation/test_mock_SnapshotRemoveRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 98%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/operation/test_mock_SnapshotRollbackRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/operation/test_mock_SnapshotProtectRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/operation/test_mock_SnapshotRemoveRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 98%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/operation/test_mock_SnapshotUnprotectRequest.cc.o [ 98%] Built target ceph_test_rgw_obj [ 98%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/operation/test_mock_TrimRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [ 98%] Built target unittest_pglog [ 98%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/trash/test_mock_MoveRequest.cc.o [ 98%] Built target rgw [ 99%] Generating ../../../lib/cython_modules/lib.3/rgw.cpython-310-aarch64-linux-gnu.so In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/operation/test_mock_SnapshotRollbackRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 99%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/trash/test_mock_RemoveRequest.cc.o [ 99%] Built target unittest_rgw_iam_policy [ 99%] Building CXX object src/test/CMakeFiles/ceph_test_librgw_file.dir/librgw_file.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/operation/test_mock_SnapshotUnprotectRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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 | ^~~~~~~~ [ 99%] Linking CXX executable ../../bin/ceph-objectstore-tool [ 99%] Built target radosgw [ 99%] Building CXX object src/test/CMakeFiles/ceph_test_librgw_file_cd.dir/librgw_file_cd.cc.o [ 99%] Built target ceph_test_rgw_manifest In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/operation/test_mock_TrimRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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 | ^~~~~~~~ [ 99%] Building CXX object src/test/CMakeFiles/ceph_test_librgw_file_gp.dir/librgw_file_gp.cc.o [ 99%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/watcher/test_mock_RewatchRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 99%] Building CXX object src/test/CMakeFiles/ceph_test_librgw_file_nfsns.dir/librgw_file_nfsns.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/trash/test_mock_MoveRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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 | ^~~~~~~~ [ 99%] Building CXX object src/test/CMakeFiles/ceph_test_librgw_file_aw.dir/librgw_file_aw.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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%] Building CXX object src/test/CMakeFiles/ceph_test_librgw_file_marker.dir/librgw_file_marker.cc.o 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/build/lib/cython_modules/temp.linux-aarch64-cpython-310/builddir/build/BUILD/dsms-storage/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.10 -I/usr/include/python3.10 -c /builddir/build/BUILD/dsms-storage/build/src/pybind/rgw/rgw.c -o /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-aarch64-cpython-310/builddir/build/BUILD/dsms-storage/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv [100%] Building CXX object src/test/CMakeFiles/ceph_test_rgw_token.dir/test_rgw_token.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/trash/test_mock_RemoveRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:5, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:7, from /builddir/build/BUILD/dsms-storage/src/test/librbd/watcher/test_mock_RewatchRequest.cc:4: /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_file.h:32, from /builddir/build/BUILD/dsms-storage/src/test/librgw_file_nfsns.cc:23: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_fixture.h:6: /builddir/build/BUILD/dsms-storage/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/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockJournal.h:10, from /builddir/build/BUILD/dsms-storage/src/test/librbd/mock/MockImageCtx.h:12, from /builddir/build/BUILD/dsms-storage/src/test/librbd/test_mock_fixture.h:8: /builddir/build/BUILD/dsms-storage/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/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_file.h:32, from /builddir/build/BUILD/dsms-storage/src/test/librgw_file_marker.cc:23: /builddir/build/BUILD/dsms-storage/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/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/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/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/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage/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/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage/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/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage/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 /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/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage/src/common/Readahead.h:10, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:19: /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/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/test/librgw_file_nfsns.cc:17: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [100%] Linking CXX executable ../../bin/ceph_test_librgw_file_cd [100%] Built target ceph_test_librgw_file_cd [100%] Building CXX object src/rgw/CMakeFiles/radosgwd.dir/radosgw.cc.o [100%] Linking CXX executable ../../bin/radosgw [100%] Linking CXX executable ../../bin/ceph_test_librgw_file [100%] Built target radosgwd [100%] Built target ceph_test_librgw_file [100%] Linking CXX executable ../../bin/ceph_test_librgw_file_aw In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [100%] Built target ceph_test_librgw_file_aw In file included from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' 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/src/test/librgw_file_marker.cc:17: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [100%] Built target ceph-objectstore-tool /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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 /usr/bin/gcc -shared -L/builddir/build/BUILD/dsms-storage/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-aarch64-cpython-310/builddir/build/BUILD/dsms-storage/build/src/pybind/rgw/rgw.o -L/usr/lib64 -L/usr/lib64/python3.10/config-3.10-aarch64-linux-gnu -L/usr/lib64 -lrados -lrgw -lcrypt -ldl -lm -lm -lpython3.10 -o /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/lib.3/rgw.cpython-310-aarch64-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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [100%] Linking CXX executable ../../bin/ceph_test_librgw_file_gp [100%] Linking CXX executable ../../bin/ceph_test_rgw_token [100%] Built target cython_rgw [100%] Built target cython_modules [100%] Built target ceph_test_librgw_file_gp /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [100%] Built target ceph_test_rgw_token /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_frontend.h:11, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_lib.h:14, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_file.h:34: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/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/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/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/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_frontend.h:11, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_lib.h:14, from /builddir/build/BUILD/dsms-storage/src/rgw/rgw_file.h:34: /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/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/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/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage/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/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/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/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/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/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/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/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/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/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/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/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/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/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/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::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/src/include/denc.h:981:22: 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage/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/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/src/include/denc.h: In instantiation of 'static void _denc::container_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/src/include/denc.h:981:22: required 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/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage/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/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 [100%] Linking CXX executable ../../bin/ceph_test_librgw_file_marker [100%] Built target ceph_test_librgw_file_marker [100%] Linking CXX executable ../../bin/ceph_test_librgw_file_nfsns [100%] Built target ceph_test_librgw_file_nfsns [100%] Linking CXX executable ../../bin/unittest_log [100%] Built target unittest_log [100%] Linking CXX executable ../../../bin/ceph-dencoder [100%] Linking CXX executable ../../../bin/unittest_librbd [100%] Linking CXX executable ../../bin/radosgw-admin [100%] Built target radosgw-admin [100%] Built target ceph-dencoder [100%] Built target unittest_librbd [100%] Linking CXX executable ../../../bin/unittest_osd_osdcap [100%] Built target unittest_osd_osdcap + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7774qc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64 ++ dirname /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64 + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' ~/build/BUILD/dsms-storage/build ~/build/BUILD/dsms-storage + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 + pushd build + make DESTDIR=/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64 install [ 0%] Built target ceph.pp [ 0%] Built target oprequest-tp [ 1%] Built target common-objs [ 1%] Built target compressor_objs [ 1%] Built target common_utf8 [ 1%] Built target json_spirit [ 1%] Built target fmt [ 1%] Built target common-auth-objs [ 1%] Built target common_buffer_obj [ 1%] Built target common_texttable_obj [ 5%] Built target common-common-objs [ 5%] Built target common_mountcephfs_objs [ 5%] Built target arch [ 5%] Built target crc32 [ 5%] Built target crush_objs [ 7%] Built target common-msg-objs [ 7%] Built target erasure_code [ 7%] Built target common [ 7%] Built target ceph-common [ 7%] Built target rados_snap_set_diff_obj [ 7%] Built target cls_lock_client [ 7%] Built target osdc [ 7%] Built target librados-tp [ 7%] Built target librados_impl [ 7%] Built target librados [ 7%] Built target librados-config [ 7%] Built target erasure_code_objs [ 8%] Built target ec_isa [ 8%] Built target jerasure_objs [ 8%] Built target jerasure_utils [ 9%] Built target gf-complete_objs [ 9%] Built target ec_jerasure_neon [ 9%] Built target ec_jerasure_generic [ 9%] Built target ec_jerasure [ 10%] Built target ec_lrc [ 10%] Built target shec_utils [ 10%] Built target ec_shec_neon [ 10%] Built target ec_shec_generic [ 10%] Built target ec_shec [ 10%] Built target ec_clay [ 10%] Built target erasure_code_plugins [ 10%] Performing build step for 'rocksdb_ext' [ 0%] Built target build_version [100%] Built target rocksdb [ 10%] Performing install step for 'rocksdb_ext' [ 10%] Completed 'rocksdb_ext' [ 10%] Built target rocksdb_ext [ 10%] Built target libglobal_objs [ 10%] Built target global-static [ 11%] Built target heap_profiler [ 11%] Built target common_prioritycache_obj [ 11%] Built target kv [ 11%] Built target mgr_cap_obj [ 12%] Built target mon [ 12%] Built target ceph_crypto_openssl [ 12%] Built target crypto_plugins [ 12%] Built target bluestore-tp [ 12%] Built target objectstore-tp [ 12%] Built target ceph_lz4 [ 12%] Built target ceph_snappy [ 12%] Built target ceph_zlib [ 13%] Built target zstd_ext [ 13%] Built target ceph_zstd [ 13%] Built target compressor_plugins [ 15%] Built target os [ 15%] Built target ceph-mon [ 15%] Built target dmclock [ 16%] Built target cpu_profiler [ 16%] Built target osd-tp [ 16%] Built target pg-tp [ 16%] Built target cls_hello [ 16%] Built target cls_numops [ 17%] Built target cls_rbd [ 17%] Built target cls_lock [ 17%] Built target cls_otp [ 17%] Built target cls_refcount [ 17%] Built target cls_version [ 17%] Built target cls_log [ 17%] Built target cls_timeindex [ 17%] Built target cls_user [ 17%] Built target cls_journal [ 17%] Built target cls_rgw [ 18%] Built target cls_cephfs [ 18%] Built target cls_cas [ 18%] Built target cls_queue [ 19%] Built target cls_rgw_gc [ 21%] Built target osd [ 22%] Built target ceph-osd [ 24%] Built target liblua [ 26%] Built target mds [ 26%] Built target ceph-mds [ 26%] Built target client [ 27%] Built target cephfs [ 27%] Built target ceph-syn [ 28%] Built target ceph-fuse [ 28%] Built target parse_secret_objs [ 28%] Built target krbd [ 28%] Built target civetweb_common_objs [ 28%] Built target osd_tp [ 28%] Built target rados_tp [ 28%] Built target os_tp [ 28%] Built target bluestore_tp [ 28%] Built target rgw_op_tp [ 29%] Built target rgw_rados_tp [ 29%] Built target rbd_tp [ 29%] Built target global [ 29%] Built target cls_sdk [ 29%] Built target cls_numops_client [ 29%] Built target cls_rbd_client [ 29%] Built target cls_otp_client [ 29%] Built target cls_refcount_client [ 30%] Built target cls_version_client [ 31%] Built target cls_log_client [ 31%] Built target cls_timeindex_client [ 31%] Built target cls_user_client [ 31%] Built target cls_journal_client [ 31%] Built target cls_rgw_client [ 31%] Built target cls_cephfs_client [ 31%] Built target cls_lua [ 31%] Built target cls_lua_client [ 31%] Built target cls_cas_client [ 31%] Built target cls_queue_client [ 31%] Built target cls_rgw_gc_client [ 31%] Built target radosstriper [ 31%] generating mgr/rook/rook_client +++ readlink -f ./generate_rook_ceph_client.sh ++ dirname /builddir/build/BUILD/dsms-storage/src/pybind/mgr/rook/generate_rook_ceph_client.sh + script_location=/builddir/build/BUILD/dsms-storage/src/pybind/mgr/rook + cd /builddir/build/BUILD/dsms-storage/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 [ 31%] Built target mgr-rook-client [ 32%] Built target ceph-mgr [ 32%] Built target rgw_rados-tp [ 32%] Built target rgw_op-tp [ 38%] Built target rgw_common [ 38%] keep civetweb.h up-to-date [ 38%] Built target civetweb_h [ 39%] Built target rgw_a [ 39%] Built target rgw [ 40%] Built target cython_rgw [ 40%] Built target rados [ 40%] Built target cython_rados [ 40%] Built target ceph_immutable_object_cache_lib [ 40%] Built target librbd-tp [ 47%] Built target rbd_internal [ 47%] Built target journal [ 48%] Built target rbd_types [ 49%] Built target librbd [ 49%] Built target cython_rbd [ 49%] Built target cython_cephfs [ 49%] Built target cython_modules [ 49%] Built target ceph_volume-clone [ 49%] Built target ceph-clone [ 49%] Built target ceph-bluestore-tool [ 49%] Built target gtest [ 49%] Built target gmock [ 49%] Built target gmock_main [ 49%] Built target gtest_main [ 49%] Built target ceph_scratchtool [ 49%] Built target ceph_scratchtoolpp [ 49%] Built target ceph_radosacl [ 49%] Built target ceph-osdomap-tool [ 49%] Built target ceph-monstore-tool [ 49%] Built target ceph-objectstore-tool [ 49%] Built target ceph-client-debug [ 49%] Built target ceph-kvstore-tool [ 50%] Built target ceph-conf [ 50%] Built target crushtool [ 50%] Built target monmaptool [ 51%] Built target osdmaptool [ 51%] Built target ceph-diff-sorted [ 51%] Built target ceph_psim [ 51%] Built target ceph-authtool [ 51%] Built target ceph-dedup-tool [ 51%] Built target cephfs-journal-tool [ 52%] Built target cephfs-table-tool [ 52%] Built target cephfs-data-scan [ 52%] Built target cephfs-shell-clone [ 54%] Built target rbd [ 54%] Built target rbd_mirror_types [ 57%] Built target rbd_mirror_internal [ 57%] Built target rbd_api [ 57%] Built target rbd-mirror [ 57%] Built target rbd-nbd [ 57%] Built target ceph-immutable-object-cache [ 57%] Built target rbd_replay_types [ 57%] Built target ceph-dencoder [ 57%] Built target ceph-erasure-code-tool [ 57%] Built target unit-main [ 57%] Built target ceph_test_timers [ 57%] Built target ceph_test_signal_handlers [ 57%] Built target ceph_test_rewrite_latency [ 57%] Built target test_crypto [ 57%] Built target test_build_libcommon [ 57%] Built target test_build_librgw [ 57%] Built target test_build_libcephfs [ 57%] Built target test_build_librados [ 57%] Built target ceph_bench_log [ 57%] Built target ceph_test_mutate [ 58%] Built target test_trans [ 58%] Built target ceph_omapbench [ 58%] Built target ceph_kvstorebench [ 58%] Built target ceph_objectstore_bench [ 58%] Built target amqp_mock [ 58%] Built target kafka_stub [ 58%] Built target test_cors [ 58%] Built target ceph_test_cls_rgw_meta [ 58%] Built target ceph_test_cls_rgw_log [ 58%] Built target ceph_test_librgw_file [ 58%] Built target ceph_test_librgw_file_cd [ 58%] Built target ceph_test_librgw_file_gp [ 58%] Built target ceph_test_librgw_file_nfsns [ 58%] Built target ceph_test_librgw_file_aw [ 58%] Built target ceph_test_librgw_file_marker [ 59%] Built target ceph_test_rgw_token [ 59%] Built target test_rgw_ldap [ 59%] Built target radostest_shared [ 59%] Built target radostest-cxx [ 59%] Built target ceph_multi_stress_watch [ 60%] Built target ceph_perf_local [ 61%] Built target ceph_test_filejournal [ 61%] Built target ceph_test_keys [ 61%] Built target ceph_test_snap_mapper [ 61%] Built target ceph_test_stress_watch [ 61%] Built target ceph_test_cfuse_cache_invalidate [ 61%] Built target test_c_headers [ 61%] Built target ceph_test_get_blkdev_props [ 62%] Built target ceph_test_admin_socket_output [ 62%] Built target unittest_admin_socket [ 62%] Built target unittest_encoding [ 62%] Built target unittest_addrs [ 63%] Built target unittest_auth [ 63%] Built target unittest_workqueue [ 64%] Built target unittest_striper [ 64%] Built target unittest_str_list [ 64%] Built target unittest_log [ 64%] Built target unittest_base64 [ 65%] Built target unittest_ceph_argparse [ 65%] Built target unittest_ceph_compatset [ 65%] Built target unittest_gather [ 65%] Built target unittest_run_cmd [ 65%] Built target unittest_signals [ 65%] Built target unittest_simple_spin [ 65%] Built target unittest_bufferlist [ 65%] Built target compiletest_cxx11_client [ 65%] Built target unittest_xlist [ 65%] Built target unittest_arch [ 66%] Built target unittest_denc [ 66%] Built target unittest_mempool [ 66%] Built target unittest_features [ 66%] Built target unittest_crypto [ 66%] Built target unittest_crypto_init [ 67%] Built target unittest_perf_counters [ 67%] Built target unittest_ceph_crypto [ 67%] Built target unittest_utf8 [ 67%] Built target unittest_mime [ 67%] Built target unittest_escape [ 67%] Built target unittest_strtol [ 67%] Built target unittest_confutils [ 67%] Built target unittest_heartbeatmap [ 67%] Built target unittest_formatter [ 67%] Built target unittest_daemon_config [ 67%] Built target unittest_libcephfs_config [ 67%] Built target rbd_replay_ios [ 67%] Built target rbd_replay [ 67%] Built target unittest_rbd_replay [ 67%] Built target unittest_ipaddr [ 67%] Built target unittest_utime [ 67%] Built target unittest_texttable [ 67%] Built target unittest_on_exit [ 67%] Built target unittest_subprocess [ 67%] Built target unittest_pageset [ 67%] Built target unittest_random_string [ 67%] Built target unittest_any [ 67%] Built target unittest_weighted_shuffle [ 67%] Built target ceph_test_cls_hello [ 67%] Built target ceph_test_cls_lock [ 67%] Built target ceph_test_cls_log [ 67%] Built target ceph_test_cls_numops [ 67%] Built target ceph_test_cls_sdk [ 67%] Built target ceph_test_cls_journal [ 67%] Built target ceph_test_cls_rbd [ 67%] Built target ceph_test_cls_refcount [ 67%] Built target ceph_test_cls_rgw [ 67%] Built target ceph_test_cls_version [ 68%] Built target ceph_test_cls_lua [ 68%] Built target ceph_test_cls_rgw_gc [ 68%] Built target ceph_test_cls_queue [ 68%] Built target get_command_descriptions [ 68%] Built target unittest_blkdev [ 68%] Built target unittest_lockdep [ 68%] Built target unittest_counter [ 68%] Built target unittest_numa [ 68%] Built target unittest_bloom_filter [ 69%] Built target unittest_histogram [ 69%] Built target unittest_prioritized_queue [ 69%] Built target unittest_mclock_priority_queue [ 69%] Built target unittest_str_map [ 69%] Built target unittest_json_formattable [ 69%] Built target unittest_json_formatter [ 69%] Built target unittest_sharedptr_registry [ 69%] Built target unittest_shared_cache [ 69%] Built target unittest_sloppy_crc_map [ 69%] Built target unittest_time [ 70%] Built target unittest_util [ 70%] Built target unittest_random [ 70%] Built target unittest_throttle [ 70%] Built target unittest_lru [ 70%] Built target unittest_intrusive_lru [ 70%] Built target unittest_crc32c [ 71%] Built target unittest_config [ 71%] Built target unittest_context [ 72%] Built target unittest_safe_io [ 72%] Built target unittest_url_escape [ 72%] Built target unittest_readahead [ 72%] Built target unittest_tableformatter [ 72%] Built target unittest_xmlformatter [ 72%] Built target unittest_bit_vector [ 72%] Built target unittest_interval_map [ 72%] Built target unittest_interval_set [ 72%] Built target unittest_weighted_priority_queue [ 72%] Built target unittest_mutex_debug [ 72%] Built target unittest_shunique_lock [ 72%] Built target unittest_perf_histogram [ 72%] Built target unittest_global_doublefree [ 72%] Built target unittest_dns_resolve [ 72%] Built target unittest_back_trace [ 72%] Built target unittest_hostname [ 72%] Built target unittest_iso_8601 [ 72%] Built target unittest_convenience [ 72%] Built target unittest_bounded_key_counter [ 72%] Built target unittest_split [ 72%] Built target unittest_static_ptr [ 72%] Built target unittest_hobject [ 72%] Built target unittest_async_completion [ 72%] Built target unittest_async_shared_mutex [ 72%] Built target unittest_rabin_chunk [ 72%] Built target unittest_ceph_timer [ 73%] Built target ceph_example [ 73%] Built target unittest_compression [ 73%] Built target unittest_crush_wrapper [ 73%] Built target unittest_crush [ 73%] Built target ceph_erasure_code_benchmark [ 73%] Built target ceph_erasure_code_non_regression [ 73%] Built target ec_example [ 73%] Built target ec_missing_entry_point [ 73%] Built target ec_missing_version [ 73%] Built target ec_hangs [ 73%] Built target ec_fail_to_initialize [ 73%] Built target ec_fail_to_register [ 73%] Built target unittest_erasure_code_plugin [ 73%] Built target unittest_erasure_code [ 73%] Built target unittest_erasure_code_plugin_jerasure [ 73%] Built target unittest_erasure_code_isa [ 73%] Built target unittest_erasure_code_plugin_isa [ 73%] Built target unittest_erasure_code_lrc [ 73%] Built target unittest_erasure_code_plugin_lrc [ 73%] Built target unittest_erasure_code_plugin_shec [ 73%] Built target unittest_erasure_code_example [ 74%] Built target unittest_erasure_code_jerasure [ 74%] Built target unittest_erasure_code_shec [ 74%] Built target unittest_erasure_code_shec_all [ 74%] Built target unittest_erasure_code_shec_thread [ 75%] Built target unittest_erasure_code_shec_arguments [ 75%] Built target unittest_erasure_code_clay [ 75%] Built target unittest_erasure_code_plugin_clay [ 75%] Built target ceph_test_filestore [ 75%] Built target unittest_mds_types [ 75%] Built target ceph_test_trim_caps [ 75%] Built target ceph_test_ino_release_cb [ 76%] Built target journal_test_mock [ 77%] Built target rados_test_stub [ 78%] Built target unittest_journal [ 78%] Built target ceph_test_libcephfs [ 78%] Built target ceph_test_libcephfs_reclaim [ 78%] Built target ceph_test_libcephfs_lazyio [ 79%] Built target ceph_test_libcephfs_access [ 79%] Built target radostest [ 79%] Built target ceph_test_rados_api_cmd [ 80%] Built target ceph_test_rados_api_cmd_pp [ 80%] Built target ceph_test_rados_api_io [ 80%] Built target ceph_test_rados_api_io_pp [ 80%] Built target ceph_test_rados_api_c_write_operations [ 80%] Built target ceph_test_rados_api_c_read_operations [ 80%] Built target ceph_test_rados_api_aio [ 80%] Built target ceph_test_rados_api_aio_pp [ 80%] Built target ceph_test_rados_api_asio [ 80%] Built target ceph_test_rados_api_list [ 80%] Built target ceph_test_rados_api_pool [ 80%] Built target ceph_test_rados_api_stat [ 80%] Built target ceph_test_rados_api_stat_pp [ 80%] Built target ceph_test_rados_api_watch_notify [ 80%] Built target ceph_test_rados_api_watch_notify_pp [ 80%] Built target ceph_test_rados_api_cls [ 80%] Built target ceph_test_rados_api_misc [ 80%] Built target ceph_test_rados_api_misc_pp [ 80%] Built target ceph_test_rados_api_lock [ 80%] Built target ceph_test_rados_api_lock_pp [ 80%] Built target ceph_test_rados_api_service [ 81%] Built target ceph_test_rados_api_service_pp [ 81%] Built target ceph_test_rados_api_tier_pp [ 81%] Built target ceph_test_rados_api_snapshots [ 81%] Built target ceph_test_rados_api_snapshots_pp [ 81%] Built target unittest_librados [ 82%] Built target unittest_librados_config [ 82%] Built target rados_striper_test [ 82%] Built target ceph_test_rados_striper_api_striping [ 82%] Built target ceph_test_rados_striper_api_io [ 82%] Built target ceph_test_rados_striper_api_aio [ 82%] Built target rbd_test_support [ 83%] Built target rbd_test [ 83%] Built target rbd_test_mock [ 86%] Built target unittest_librbd [ 86%] Built target ceph_test_librbd [ 86%] Built target ceph_test_librbd_fsx [ 86%] Built target unittest_mds_authcap [ 86%] Built target unittest_mds_sessionfilter [ 86%] Built target ceph_test_mon_workloadgen [ 86%] Built target ceph_test_mon_msg [ 86%] Built target unittest_mon_moncap [ 86%] Built target unittest_mon_monmap [ 86%] Built target unittest_mon_pgmap [ 87%] Built target unittest_mon_montypes [ 87%] Built target ceph_test_mon_memory_target [ 88%] Built target ceph_test_log_rss_usage [ 88%] Built target ceph_test_mon_rss_usage [ 88%] Built target unittest_mon_election [ 88%] Built target unittest_mgr_mgrcap [ 88%] Built target ceph_test_async_driver [ 88%] Built target ceph_test_msgr [ 88%] Built target ceph_test_async_networkstack [ 88%] Built target ceph_perf_msgr_server [ 88%] Built target ceph_perf_msgr_client [ 88%] Built target unittest_frames_v2 [ 88%] Built target ceph_test_object_map [ 88%] Built target ceph_test_keyvaluedb_atomicity [ 88%] Built target ceph_test_keyvaluedb_iterators [ 88%] Built target ceph_perf_objectstore [ 88%] Built target store_test_fixture [ 89%] Built target ceph_test_objectstore [ 90%] Built target ceph_test_keyvaluedb [ 90%] Built target ceph_test_filestore_idempotent [ 90%] Built target ceph_test_filestore_idempotent_sequence [ 90%] Built target unittest_chain_xattr [ 90%] Built target unittest_rocksdb_option [ 90%] Built target unittest_alloc [ 90%] Built target unittest_alloc_bench [ 90%] Built target unittest_fastbmap_allocator [ 90%] Built target unittest_hybrid_allocator [ 90%] Built target unittest_bluefs [ 90%] Built target unittest_bluestore_types [ 90%] Built target unittest_bdev [ 90%] Built target unittest_transaction [ 90%] Built target unittest_memstore_clone [ 90%] Built target ceph_test_bmap_alloc_replay [ 90%] Built target unittest_lfnindex [ 90%] Built target ceph_test_rados [ 90%] Built target ceph_test_osd_stale_read [ 90%] Built target unittest_osdmap [ 90%] Built target unittest_osd_types [ 90%] Built target unittest_ecbackend [ 90%] Built target unittest_osdscrub [ 90%] Built target unittest_pglog [ 90%] Built target unittest_hitset [ 90%] Built target unittest_osd_osdcap [ 90%] Built target unittest_extent_cache [ 90%] Built target unittest_pg_transaction [ 90%] Built target unittest_ec_transaction [ 91%] Built target unittest_mclock_scheduler [ 91%] Built target ceph_test_objectcacher_stress [ 91%] Built target unittest_ceph_immutable_obj_cache [ 91%] Built target ceph_test_immutable_obj_cache [ 91%] Built target unittest_rgw_bencode [ 91%] Built target unittest_rgw_period_history [ 91%] Built target unittest_rgw_compression [ 91%] Built target unittest_http_manager [ 91%] Built target unittest_rgw_reshard_wait [ 91%] Built target test_rgw_a [ 91%] Built target ceph_test_rgw_manifest [ 91%] Built target ceph_test_rgw_obj [ 91%] Built target unittest_rgw_crypto [ 91%] Built target unittest_rgw_reshard [ 91%] Built target unittest_rgw_putobj [ 91%] Built target ceph_test_rgw_throttle [ 92%] Built target unittest_rgw_iam_policy [ 92%] Built target unittest_rgw_string [ 92%] Built target rgw_schedulers [ 92%] Built target unittest_rgw_dmclock_scheduler [ 92%] Built target unittest_rgw_amqp [ 92%] Built target unittest_rgw_xml [ 92%] Built target unittest_rgw_arn [ 92%] Built target unittest_rgw_kms [ 92%] Built target unittest_rgw_url [ 92%] Built target ceph_test_rgw_gc_log [ 93%] Built target rbd_mirror_test [ 95%] Built target unittest_rbd_mirror [ 95%] Built target ceph_test_rbd_mirror [ 95%] Built target ceph_test_rbd_mirror_random_write [ 96%] Built target systest [ 96%] Built target ceph_test_rados_list_parallel [ 97%] Built target ceph_test_rados_open_pools_parallel [ 97%] Built target ceph_test_rados_delete_pools_parallel [ 97%] Built target ceph_test_lazy_omap_stats [ 97%] Built target mount.ceph [ 98%] Built target rbd-fuse [ 98%] Built target rbd-replay [ 98%] Built target rbd-replay-prep [ 98%] Built target cls_kvs [ 99%] Built target radosgw [ 99%] Built target radosgwd [ 99%] Built target radosgw-admin [ 99%] Built target radosgw-es [100%] Built target radosgw-token [100%] Built target radosgw-object-expirer [100%] Built target ceph_rgw_jsonparser [100%] Built target ceph_rgw_multiparser [100%] manpages building [100%] Built target manpages Install the project... -- Install configuration: "RelWithDebInfo" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/selinux/packages/ceph.pp -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/selinux/devel/include/contrib/ceph.if -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/libceph-common.so.2 -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/libceph-common.so.2" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/librados-config -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/librados-config" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-mon -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-mon" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-osd -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-mds -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-mds" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-debugpack -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-coverage -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-post-file -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-crash -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-run -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-clsinfo -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/etc/init.d/ceph -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/id_rsa_drop.ceph.com -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/id_rsa_drop.ceph.com.pub -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/known_hosts_drop.ceph.com -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/ceph/ceph_common.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/ceph/ceph-osd-prestart.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/sbin/ceph-create-keys -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/libcephfs.so.2.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/libcephfs.so.2 -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/libcephfs.so.2.0.0" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/libcephfs.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/include/cephfs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/include/cephfs/ceph_ll_client.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/include/cephfs/libcephfs.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-syn -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-syn" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-fuse -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-fuse" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/sbin/mount.fuse.ceph -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-rbdnamer -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbd-replay-many -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbdmap -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/doc/ceph/sample.ceph.conf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/ocf/resource.d/ceph/rbd -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/librados_tp.so.2.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/librados_tp.so.2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/librados_tp.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/libosd_tp.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/libosd_tp.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/libosd_tp.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/libos_tp.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/libos_tp.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/libos_tp.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/librgw_rados_tp.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/librgw_rados_tp.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/librgw_rados_tp.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/librgw_op_tp.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/librgw_op_tp.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/librgw_op_tp.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/librbd_tp.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/librbd_tp.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/librbd_tp.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_sdk.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_sdk.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_sdk.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_hello.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_hello.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_hello.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_numops.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_numops.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_numops.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_rbd.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_rbd.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_rbd.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_lock.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_lock.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_lock.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_otp.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_otp.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_otp.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_refcount.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_refcount.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_refcount.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_version.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_version.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_version.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_log.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_log.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_log.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_timeindex.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_timeindex.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_timeindex.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_user.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_user.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_user.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_journal.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_journal.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_journal.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_rgw.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_rgw.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_rgw.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_cephfs.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_cephfs.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_cephfs.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_lua.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_lua.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_lua.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_cas.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_cas.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_cas.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_queue.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_queue.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_queue.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_rgw_gc.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_rgw_gc.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_rgw_gc.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/include/rados/librados.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/include/rados/rados_types.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/include/rados/rados_types.hpp -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/include/rados/librados_fwd.hpp -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/include/rados/librados.hpp -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/include/rados/buffer.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/include/rados/buffer_fwd.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/include/rados/inline_memory.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/include/rados/page.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/include/rados/crc32c.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/include/rados/objclass.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/include/radosstriper/libradosstriper.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/include/radosstriper/libradosstriper.hpp -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/include/rbd/features.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/include/rbd/librbd.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/include/rbd/librbd.hpp -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/include/rados/librgw.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/include/rados/rgw_file.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/librados.so.2.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/librados.so.2 -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/librados.so.2.0.0" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/librados.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/libradosstriper.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/libradosstriper.so.1 -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/libradosstriper.so.1.0.0" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/libradosstriper.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-mgr -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-mgr" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_argparse.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_daemon.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume_client.py running build running build_ext cythoning rados.pyx to /builddir/build/BUILD/dsms-storage/build/src/pybind/rados/pyrex/rados.c creating /builddir/build/BUILD/dsms-storage/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/src/pybind/rados/rados.pxd tree = Parsing.p_module(s, pxd, full_module_name) building 'rados' extension creating /builddir/build/BUILD/dsms-storage/build/src/pybind/rados/builddir creating /builddir/build/BUILD/dsms-storage/build/src/pybind/rados/builddir/build creating /builddir/build/BUILD/dsms-storage/build/src/pybind/rados/builddir/build/BUILD creating /builddir/build/BUILD/dsms-storage/build/src/pybind/rados/builddir/build/BUILD/dsms-storage creating /builddir/build/BUILD/dsms-storage/build/src/pybind/rados/builddir/build/BUILD/dsms-storage/build creating /builddir/build/BUILD/dsms-storage/build/src/pybind/rados/builddir/build/BUILD/dsms-storage/build/src creating /builddir/build/BUILD/dsms-storage/build/src/pybind/rados/builddir/build/BUILD/dsms-storage/build/src/pybind creating /builddir/build/BUILD/dsms-storage/build/src/pybind/rados/builddir/build/BUILD/dsms-storage/build/src/pybind/rados creating /builddir/build/BUILD/dsms-storage/build/src/pybind/rados/builddir/build/BUILD/dsms-storage/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -iquote/builddir/build/BUILD/dsms-storage/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/build/src/pybind/rados/pyrex/rados.c -o /builddir/build/BUILD/dsms-storage/build/src/pybind/rados/builddir/build/BUILD/dsms-storage/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv /builddir/build/BUILD/dsms-storage/build/src/pybind/rados/pyrex/rados.c: In function ‘__pyx_pf_5rados_5Rados___init__’: /builddir/build/BUILD/dsms-storage/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/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/build/src/pybind/rados/pyrex/rados.c: In function ‘__pyx_pf_5rados_5Rados_40create_pool’: /builddir/build/BUILD/dsms-storage/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/build/src/pybind/rados/pyrex/rados.c:744: /builddir/build/BUILD/dsms-storage/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/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/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/build/src/pybind/rados/pyrex/rados.c: In function ‘__pyx_pf_5rados_5Ioctx_138set_osdmap_full_try’: /builddir/build/BUILD/dsms-storage/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/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/build/src/pybind/rados/pyrex/rados.c: In function ‘__pyx_pf_5rados_5Ioctx_140unset_osdmap_full_try’: /builddir/build/BUILD/dsms-storage/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/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/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/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/build/src/pybind/rados/pyrex/rados.c:37233:13: /builddir/build/BUILD/dsms-storage/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/build/src/pybind/rados/pyrex/rados.c: In function ‘__pyx_pw_5rados_5Watch_9_callback’: /builddir/build/BUILD/dsms-storage/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/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -iquote/builddir/build/BUILD/dsms-storage/src/include -Dvoid0=dead_function(void) "-D__Pyx_check_single_interpreter(ARG)=ARG ## 0" /builddir/build/BUILD/dsms-storage/build/src/pybind/rados/builddir/build/BUILD/dsms-storage/build/src/pybind/rados/pyrex/rados.o -L/usr/lib64 -L/usr/lib64/python3.10/config-3.10-aarch64-linux-gnu -L/usr/lib64 -lrados -lcrypt -ldl -lm -lm -lpython3.10 -o /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/lib.3/rados.cpython-310-aarch64-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-0.an23.aarch64/usr/lib64/python3.10 creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/python3.10/site-packages copying /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/lib.3/cephfs.cpython-310-aarch64-linux-gnu.so -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/python3.10/site-packages copying /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/lib.3/rbd.cpython-310-aarch64-linux-gnu.so -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/python3.10/site-packages copying /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/lib.3/rgw.cpython-310-aarch64-linux-gnu.so -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/python3.10/site-packages copying /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/lib.3/rados.cpython-310-aarch64-linux-gnu.so -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/python3.10/site-packages running install_egg_info running egg_info creating /builddir/build/BUILD/dsms-storage/build/src/pybind/rados/rados.egg-info writing /builddir/build/BUILD/dsms-storage/build/src/pybind/rados/rados.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/dsms-storage/build/src/pybind/rados/rados.egg-info/dependency_links.txt writing top-level names to /builddir/build/BUILD/dsms-storage/build/src/pybind/rados/rados.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/dsms-storage/build/src/pybind/rados/rados.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/dsms-storage/build/src/pybind/rados/rados.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file '/builddir/build/BUILD/dsms-storage/build/src/pybind/rados/rados.egg-info/SOURCES.txt' Copying /builddir/build/BUILD/dsms-storage/build/src/pybind/rados/rados.egg-info to /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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/build/src/pybind/rbd/pyrex/rbd.c creating /builddir/build/BUILD/dsms-storage/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/src/pybind/rbd/rbd.pyx tree = Parsing.p_module(s, pxd, full_module_name) building 'rbd' extension creating /builddir/build/BUILD/dsms-storage/build/src/pybind/rbd/builddir creating /builddir/build/BUILD/dsms-storage/build/src/pybind/rbd/builddir/build creating /builddir/build/BUILD/dsms-storage/build/src/pybind/rbd/builddir/build/BUILD creating /builddir/build/BUILD/dsms-storage/build/src/pybind/rbd/builddir/build/BUILD/dsms-storage creating /builddir/build/BUILD/dsms-storage/build/src/pybind/rbd/builddir/build/BUILD/dsms-storage/build creating /builddir/build/BUILD/dsms-storage/build/src/pybind/rbd/builddir/build/BUILD/dsms-storage/build/src creating /builddir/build/BUILD/dsms-storage/build/src/pybind/rbd/builddir/build/BUILD/dsms-storage/build/src/pybind creating /builddir/build/BUILD/dsms-storage/build/src/pybind/rbd/builddir/build/BUILD/dsms-storage/build/src/pybind/rbd creating /builddir/build/BUILD/dsms-storage/build/src/pybind/rbd/builddir/build/BUILD/dsms-storage/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -iquote/builddir/build/BUILD/dsms-storage/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/build/src/pybind/rbd/pyrex/rbd.c -o /builddir/build/BUILD/dsms-storage/build/src/pybind/rbd/builddir/build/BUILD/dsms-storage/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv /builddir/build/BUILD/dsms-storage/build/src/pybind/rbd/pyrex/rbd.c: In function ‘__pyx_pf_3rbd_3RBD_6list’: /builddir/build/BUILD/dsms-storage/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/build/src/pybind/rbd/pyrex/rbd.c:752: /builddir/build/BUILD/dsms-storage/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/build/src/pybind/rbd/pyrex/rbd.c: In function ‘__pyx_pf_3rbd_3RBD_102namespace_exists’: /builddir/build/BUILD/dsms-storage/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/src/include/rbd/librbd.h:1378:45: note: expected ‘_Bool *’ but argument is of type ‘int *’ 1378 | bool *exists); | ^ /builddir/build/BUILD/dsms-storage/build/src/pybind/rbd/pyrex/rbd.c: In function ‘__pyx_gb_3rbd_20PoolMetadataIterator_4generator4’: /builddir/build/BUILD/dsms-storage/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/build/src/pybind/rbd/pyrex/rbd.c: In function ‘__pyx_pf_3rbd_5Image_78snap_exists’: /builddir/build/BUILD/dsms-storage/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/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/build/src/pybind/rbd/pyrex/rbd.c:750: /builddir/build/BUILD/dsms-storage/build/src/pybind/rbd/pyrex/rbd.c: In function ‘__pyx_pf_3rbd_5Image_90set_snap_by_id’: /builddir/build/BUILD/dsms-storage/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/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/build/src/pybind/rbd/pyrex/rbd.c: In function ‘__pyx_gb_3rbd_16MetadataIterator_4generator8’: /builddir/build/BUILD/dsms-storage/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/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/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/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -iquote/builddir/build/BUILD/dsms-storage/src/include -Dvoid0=dead_function(void) "-D__Pyx_check_single_interpreter(ARG)=ARG ## 0" /builddir/build/BUILD/dsms-storage/build/src/pybind/rbd/builddir/build/BUILD/dsms-storage/build/src/pybind/rbd/pyrex/rbd.o -L/usr/lib64 -L/usr/lib64/python3.10/config-3.10-aarch64-linux-gnu -L/usr/lib64 -lrbd -lrados -lcrypt -ldl -lm -lm -lpython3.10 -o /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/lib.3/rbd.cpython-310-aarch64-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/build/lib/cython_modules/lib.3/rbd.cpython-310-aarch64-linux-gnu.so -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/python3.10/site-packages running install_egg_info running egg_info creating /builddir/build/BUILD/dsms-storage/build/src/pybind/rbd/rbd.egg-info writing /builddir/build/BUILD/dsms-storage/build/src/pybind/rbd/rbd.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/dsms-storage/build/src/pybind/rbd/rbd.egg-info/dependency_links.txt writing top-level names to /builddir/build/BUILD/dsms-storage/build/src/pybind/rbd/rbd.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/dsms-storage/build/src/pybind/rbd/rbd.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/dsms-storage/build/src/pybind/rbd/rbd.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file '/builddir/build/BUILD/dsms-storage/build/src/pybind/rbd/rbd.egg-info/SOURCES.txt' Copying /builddir/build/BUILD/dsms-storage/build/src/pybind/rbd/rbd.egg-info to /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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/build/src/pybind/cephfs/pyrex/cephfs.c creating /builddir/build/BUILD/dsms-storage/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/src/pybind/cephfs/cephfs.pyx tree = Parsing.p_module(s, pxd, full_module_name) building 'cephfs' extension creating /builddir/build/BUILD/dsms-storage/build/src/pybind/cephfs/builddir creating /builddir/build/BUILD/dsms-storage/build/src/pybind/cephfs/builddir/build creating /builddir/build/BUILD/dsms-storage/build/src/pybind/cephfs/builddir/build/BUILD creating /builddir/build/BUILD/dsms-storage/build/src/pybind/cephfs/builddir/build/BUILD/dsms-storage creating /builddir/build/BUILD/dsms-storage/build/src/pybind/cephfs/builddir/build/BUILD/dsms-storage/build creating /builddir/build/BUILD/dsms-storage/build/src/pybind/cephfs/builddir/build/BUILD/dsms-storage/build/src creating /builddir/build/BUILD/dsms-storage/build/src/pybind/cephfs/builddir/build/BUILD/dsms-storage/build/src/pybind creating /builddir/build/BUILD/dsms-storage/build/src/pybind/cephfs/builddir/build/BUILD/dsms-storage/build/src/pybind/cephfs creating /builddir/build/BUILD/dsms-storage/build/src/pybind/cephfs/builddir/build/BUILD/dsms-storage/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -iquote/builddir/build/BUILD/dsms-storage/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/build/src/pybind/cephfs/pyrex/cephfs.c -o /builddir/build/BUILD/dsms-storage/build/src/pybind/cephfs/builddir/build/BUILD/dsms-storage/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv /builddir/build/BUILD/dsms-storage/build/src/pybind/cephfs/pyrex/cephfs.c: In function ‘__pyx_pf_6cephfs_9LibCephFS_2__cinit__’: /builddir/build/BUILD/dsms-storage/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/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/build/src/pybind/cephfs/pyrex/cephfs.c: At top level: /builddir/build/BUILD/dsms-storage/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/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/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/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -iquote/builddir/build/BUILD/dsms-storage/src/include -Dvoid0=dead_function(void) "-D__Pyx_check_single_interpreter(ARG)=ARG ## 0" /builddir/build/BUILD/dsms-storage/build/src/pybind/cephfs/builddir/build/BUILD/dsms-storage/build/src/pybind/cephfs/pyrex/cephfs.o -L/usr/lib64 -L/usr/lib64/python3.10/config-3.10-aarch64-linux-gnu -L/usr/lib64 -lcephfs -lcrypt -ldl -lm -lm -lpython3.10 -o /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/lib.3/cephfs.cpython-310-aarch64-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/build/lib/cython_modules/lib.3/cephfs.cpython-310-aarch64-linux-gnu.so -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/python3.10/site-packages running install_egg_info running egg_info creating /builddir/build/BUILD/dsms-storage/build/src/pybind/cephfs/cephfs.egg-info writing /builddir/build/BUILD/dsms-storage/build/src/pybind/cephfs/cephfs.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/dsms-storage/build/src/pybind/cephfs/cephfs.egg-info/dependency_links.txt writing top-level names to /builddir/build/BUILD/dsms-storage/build/src/pybind/cephfs/cephfs.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/dsms-storage/build/src/pybind/cephfs/cephfs.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/dsms-storage/build/src/pybind/cephfs/cephfs.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file '/builddir/build/BUILD/dsms-storage/build/src/pybind/cephfs/cephfs.egg-info/SOURCES.txt' Copying /builddir/build/BUILD/dsms-storage/build/src/pybind/cephfs/cephfs.egg-info to /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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/build/src/pybind/rgw/pyrex/rgw.c creating /builddir/build/BUILD/dsms-storage/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/src/pybind/rgw/rgw.pyx tree = Parsing.p_module(s, pxd, full_module_name) building 'rgw' extension creating /builddir/build/BUILD/dsms-storage/build/src/pybind/rgw/builddir creating /builddir/build/BUILD/dsms-storage/build/src/pybind/rgw/builddir/build creating /builddir/build/BUILD/dsms-storage/build/src/pybind/rgw/builddir/build/BUILD creating /builddir/build/BUILD/dsms-storage/build/src/pybind/rgw/builddir/build/BUILD/dsms-storage creating /builddir/build/BUILD/dsms-storage/build/src/pybind/rgw/builddir/build/BUILD/dsms-storage/build creating /builddir/build/BUILD/dsms-storage/build/src/pybind/rgw/builddir/build/BUILD/dsms-storage/build/src creating /builddir/build/BUILD/dsms-storage/build/src/pybind/rgw/builddir/build/BUILD/dsms-storage/build/src/pybind creating /builddir/build/BUILD/dsms-storage/build/src/pybind/rgw/builddir/build/BUILD/dsms-storage/build/src/pybind/rgw creating /builddir/build/BUILD/dsms-storage/build/src/pybind/rgw/builddir/build/BUILD/dsms-storage/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -iquote/builddir/build/BUILD/dsms-storage/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/build/src/pybind/rgw/pyrex/rgw.c -o /builddir/build/BUILD/dsms-storage/build/src/pybind/rgw/builddir/build/BUILD/dsms-storage/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv /builddir/build/BUILD/dsms-storage/build/src/pybind/rgw/pyrex/rgw.c: In function ‘__pyx_pf_3rgw_8LibRGWFS_2__cinit__’: /builddir/build/BUILD/dsms-storage/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/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/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/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/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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -iquote/builddir/build/BUILD/dsms-storage/src/include -Dvoid0=dead_function(void) "-D__Pyx_check_single_interpreter(ARG)=ARG ## 0" /builddir/build/BUILD/dsms-storage/build/src/pybind/rgw/builddir/build/BUILD/dsms-storage/build/src/pybind/rgw/pyrex/rgw.o -L/usr/lib64 -L/usr/lib64/python3.10/config-3.10-aarch64-linux-gnu -L/usr/lib64 -lrados -lrgw -lcrypt -ldl -lm -lm -lpython3.10 -o /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/lib.3/rgw.cpython-310-aarch64-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/build/lib/cython_modules/lib.3/rgw.cpython-310-aarch64-linux-gnu.so -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/python3.10/site-packages running install_egg_info running egg_info creating /builddir/build/BUILD/dsms-storage/build/src/pybind/rgw/rgw.egg-info writing /builddir/build/BUILD/dsms-storage/build/src/pybind/rgw/rgw.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/dsms-storage/build/src/pybind/rgw/rgw.egg-info/dependency_links.txt writing top-level names to /builddir/build/BUILD/dsms-storage/build/src/pybind/rgw/rgw.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/dsms-storage/build/src/pybind/rgw/rgw.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/dsms-storage/build/src/pybind/rgw/rgw.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file '/builddir/build/BUILD/dsms-storage/build/src/pybind/rgw/rgw.egg-info/SOURCES.txt' Copying /builddir/build/BUILD/dsms-storage/build/src/pybind/rgw/rgw.egg-info to /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/alerts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/alerts/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/alerts/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/balancer -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/balancer/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/balancer/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/HACKING.rst -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/Vagrantfile -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/ceph.repo -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/inventory.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/migrations.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/remotes.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/schedule.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/serve.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/services -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/services/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/services/cephadmservice.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/services/container.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/services/iscsi.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/services/monitoring.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/services/nfs.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/services/osd.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/template.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/templates -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/templates/blink_device_light_cmd.j2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/templates/services -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/templates/services/alertmanager -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/templates/services/alertmanager/alertmanager.yml.j2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/templates/services/grafana -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/templates/services/grafana/ceph-dashboard.yml.j2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/templates/services/grafana/grafana.ini.j2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/templates/services/iscsi -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/templates/services/iscsi/iscsi-gateway.cfg.j2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/templates/services/nfs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/templates/services/nfs/ganesha.conf.j2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/templates/services/prometheus -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/templates/services/prometheus/prometheus.yml.j2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/tests -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/upgrade.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/utils.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/cephadm/vagrant.config.example.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/crash -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/crash/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/crash/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/.coveragerc -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/.editorconfig -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/.pylintrc -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/HACKING.rst -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/README.rst -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/awsauth.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/cherrypy_backports.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/ci -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/ci/cephadm -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/ci/cephadm/bootstrap-cluster.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/ci/cephadm/ceph_cluster.yml -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/ci/cephadm/run-cephadm-e2e-tests.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/ci/cephadm/start-cluster.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/ci/check_grafana_uids.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/constraints.txt -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/auth.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/cephfs.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/cluster_configuration.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/crush_rule.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/docs.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/erasure_code_profile.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/frontend_logging.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/grafana.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/health.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/home.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/host.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/iscsi.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/logs.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/mgr_modules.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/monitor.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/nfsganesha.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/orchestrator.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/osd.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/perf_counters.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/pool.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/prometheus.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/rbd.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/rbd_mirroring.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/rgw.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/role.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/saml2.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/service.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/settings.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/summary.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/task.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/telemetry.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/controllers/user.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/exceptions.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/.editorconfig -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/.htmllintrc -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/.prettierignore -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/.prettierrc -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/angular.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/babel.config.js -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/browserslist -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/block -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/block/images.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/block/images.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/block/iscsi.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/block/iscsi.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/block/mirroring.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/block/mirroring.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/configuration.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/configuration.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/crush-map.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/crush-map.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/hosts.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/hosts.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/logs.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/logs.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/mgr-modules.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/mgr-modules.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/monitors.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/monitors.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/osds.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/osds.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/filesystems -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/filesystems/filesystems.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/filesystems/filesystems.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/nfs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/nfs/nfs.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/nfs/nfs.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/orchestrator -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/orchestrator/workflow -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/orchestrator/workflow/01-hosts.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/page-helper.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/pools -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/pools/pools.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/pools/pools.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/rgw -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/rgw/buckets.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/rgw/buckets.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/rgw/daemons.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/rgw/daemons.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/rgw/users.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/rgw/users.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/ui -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/ui/dashboard.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/ui/dashboard.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/ui/notification.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/ui/notification.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/ui/role-mgmt.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/ui/role-mgmt.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/ui/user-mgmt.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/ui/user-mgmt.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/support -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/support/commands.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/support/index.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/cypress/tsconfig.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/environment.build.js -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/html-linter.config.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/i18n.config.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/package-lock.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/package.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/proxy.conf.json.sample -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/app-routing.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/app.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/app.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/app.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/app.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/app.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/block.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-setting -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-setting/iscsi-setting.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-setting/iscsi-setting.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-setting/iscsi-setting.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-tabs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-tabs/iscsi-tabs.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-tabs/iscsi-tabs.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-tabs/iscsi-tabs.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-discovery-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-image-settings-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-iqn-settings-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi/iscsi.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi/iscsi.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi/iscsi.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi/iscsi.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/bootstrap-create-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/bootstrap-import-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/daemon-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/edit-site-name-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/image-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/mirror-health-color.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/mirroring.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/overview -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/overview/overview.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/overview/overview.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/overview/overview.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/overview/overview.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-edit-mode-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-edit-peer-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-configuration-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-configuration-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-details/rbd-details.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-details/rbd-details.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-details/rbd-details.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-feature.interface.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-parent.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-namespace-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-namespace-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-performance -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-performance/rbd-performance.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-performance/rbd-performance.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-performance/rbd-performance.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-tabs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-tabs/rbd-tabs.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-tabs/rbd-tabs.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-tabs/rbd-tabs.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-move-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-purge-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-restore-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/ceph.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-chart -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-chart/cephfs-chart.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-chart/cephfs-chart.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-chart/cephfs-chart.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-clients -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-clients/cephfs-clients.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-clients/cephfs-clients.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-clients/cephfs-clients.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-detail -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-detail/cephfs-detail.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-detail/cephfs-detail.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-detail/cephfs-detail.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-directories -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-directories/cephfs-directories.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-directories/cephfs-directories.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-directories/cephfs-directories.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-list/cephfs-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-list/cephfs-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-list/cephfs-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-tabs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-tabs/cephfs-tabs.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-tabs/cephfs-tabs.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-tabs/cephfs-tabs.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/cluster.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/crushmap -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/crushmap/crushmap.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/crushmap/crushmap.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/crushmap/crushmap.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/crushmap/crushmap.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/hosts.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/hosts.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/hosts.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/hosts.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/inventory -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory-devices -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory-host.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/logs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/logs/logs.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/logs/logs.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/logs/logs.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/logs/logs.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-modules.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/monitor -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/monitor/monitor.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/monitor/monitor.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/monitor/monitor.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/monitor/monitor.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-creation-preview-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-devices-selection-groups -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-devices-selection-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-flags-indiv-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-flags-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-performance-histogram -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-pg-scrub-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-recv-speed-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-reweight-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-scrub-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/active-alert-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/monitoring-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/rules-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-matcher-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/placement.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/placement.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-daemon-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/services.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/services.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/services.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/services.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/telemetry -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/telemetry/telemetry.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/telemetry/telemetry.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/telemetry/telemetry.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/telemetry/telemetry.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/dashboard.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/dashboard -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/dashboard/dashboard.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/dashboard/dashboard.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/dashboard/dashboard.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/dashboard/dashboard.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/health-pie -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/health-pie/health-pie.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/health-pie/health-pie.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/health-pie/health-pie.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/health -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/health/health.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/health/health.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/health/health.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/health/health.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/info-card -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/info-card/info-card-popover.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/info-card/info-card.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/info-card/info-card.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/info-card/info-card.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/info-group -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/info-group/info-group.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/info-group/info-group.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/info-group/info-group.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/mds-summary.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/mds-summary.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/mgr-summary.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/mgr-summary.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/mon-summary.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/mon-summary.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/osd-summary.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/osd-summary.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-501 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-501/nfs-501.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-501/nfs-501.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-501/nfs-501.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-cluster-type.enum.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-details/nfs-details.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-details/nfs-details.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-details/nfs-details.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form-client -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-list/nfs-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-list/nfs-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-list/nfs-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/performance-counter -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/performance-counter/performance-counter.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/performance-counter/performance-counter -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/performance-counter/table-performance-counter -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/crush-rule-form-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/erasure-code-profile-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-details/pool-details.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-details/pool-details.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-details/pool-details.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form-data.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-list/pool-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-list/pool-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-list/pool-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-stat.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/models -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-bucket-mfa-delete.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-bucket-versioning.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-user-capabilities.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-user-capability.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-user-s3-key.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-user-subuser.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-user-swift-key.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-501 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-501/rgw-501.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-501/rgw-501.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-501/rgw-501.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-capability-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-s3-key-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-subuser-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-swift-key-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/ceph-shared.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/device-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/device-list/device-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/device-list/device-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/device-list/device-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/pg-category.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/pg-category.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/pg-category.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/smart-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/fixtures -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/smart-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/smart-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/smart-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/auth.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/login-password-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/login -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/login/login.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/login/login.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/login/login.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/login/login.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-details/role-details.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-details/role-details.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-details/role-details.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-form/role-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-form/role-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-form/role-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-form/role-form.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-list/role-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-list/role-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-list/role-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/sso -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/sso/sso-not-found -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-list/user-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-list/user-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-list/user-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-password-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-tabs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-tabs/user-tabs.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-tabs/user-tabs.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-tabs/user-tabs.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/core.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/forbidden -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/forbidden/forbidden.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/forbidden/forbidden.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/forbidden/forbidden.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/forbidden/forbidden.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/blank-layout -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/blank-layout/blank-layout.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/blank-layout/blank-layout.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/blank-layout/blank-layout.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/login-layout -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/login-layout/login-layout.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/login-layout/login-layout.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/login-layout/login-layout.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/workbench-layout -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/workbench-layout/workbench-layout.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/workbench-layout/workbench-layout.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/workbench-layout/workbench-layout.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/about -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/about/about.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/about/about.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/about/about.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/about/about.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/administration -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/administration/administration.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/administration/administration.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/administration/administration.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/administration/administration.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/breadcrumbs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/breadcrumbs/breadcrumbs.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/breadcrumbs/breadcrumbs.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/breadcrumbs/breadcrumbs.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/breadcrumbs/breadcrumbs.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/dashboard-help -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/dashboard-help/dashboard-help.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/dashboard-help/dashboard-help.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/dashboard-help/dashboard-help.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/identity -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/identity/identity.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/identity/identity.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/identity/identity.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/identity/identity.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/navigation.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/navigation -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/navigation/navigation.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/navigation/navigation.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/navigation/navigation.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/navigation/navigation.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/notifications -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/notifications/notifications.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/notifications/notifications.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/notifications/notifications.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/notifications/notifications.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/not-found -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/not-found/not-found.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/not-found/not-found.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/not-found/not-found.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/not-found/not-found.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/api.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/auth.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/auth.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/ceph-service.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/cephfs.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/cephfs.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/configuration.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/configuration.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/crush-rule.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/crush-rule.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/erasure-code-profile.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/erasure-code-profile.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/health.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/health.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/host.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/host.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/iscsi.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/iscsi.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/logging.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/logging.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/logs.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/logs.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/mgr-module.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/mgr-module.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/monitor.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/monitor.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/motd.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/motd.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/nfs.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/nfs.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/orchestrator.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/orchestrator.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/osd.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/osd.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/performance-counter.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/performance-counter.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/pool.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/pool.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/prometheus.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/prometheus.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rbd-mirroring.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rbd-mirroring.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rbd.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rbd.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rbd.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rgw-bucket.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rgw-bucket.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rgw-daemon.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rgw-daemon.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rgw-site.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rgw-site.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rgw-user.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rgw-user.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/role.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/role.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/scope.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/scope.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/settings.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/settings.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/telemetry.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/telemetry.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/user.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/user.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/classes -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/classes/crush.node.selection.class.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/classes/crush.node.selection.class.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/classes/list-with-details.class.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/alert-panel -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/alert-panel/alert-panel.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/alert-panel/alert-panel.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/alert-panel/alert-panel.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/back-button -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/back-button/back-button.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/back-button/back-button.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/back-button/back-button.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/components.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/config-option -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/config-option/config-option.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/config-option/config-option.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/config-option/config-option.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/config-option/config-option.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/config-option/config-option.types.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/confirmation-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/confirmation-modal/confirmation-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/confirmation-modal/confirmation-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/confirmation-modal/confirmation-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/critical-confirmation-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/doc -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/doc/doc.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/doc/doc.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/doc/doc.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/doc/doc.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/form-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/form-modal/form-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/form-modal/form-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/form-modal/form-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/grafana -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/grafana/grafana.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/grafana/grafana.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/grafana/grafana.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/grafana/grafana.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/helper -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/helper/helper.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/helper/helper.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/helper/helper.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/helper/helper.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/language-selector -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/language-selector/language-selector.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/language-selector/language-selector.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/language-selector/language-selector.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/language-selector/supported-languages.enum.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/loading-panel -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/loading-panel/loading-panel.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/loading-panel/loading-panel.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/loading-panel/loading-panel.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/modal/modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/modal/modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/modal/modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/modal/modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/motd -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/motd/motd.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/motd/motd.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/motd/motd.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/motd/motd.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/notifications-sidebar -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/notifications-sidebar/notifications-sidebar.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/notifications-sidebar/notifications-sidebar.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/notifications-sidebar/notifications-sidebar.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/orchestrator-doc-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/orchestrator-doc-panel -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/pwd-expiration-notification -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/refresh-selector -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/refresh-selector/refresh-selector.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/refresh-selector/refresh-selector.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/refresh-selector/refresh-selector.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select-badges -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select-badges/select-badges.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select-badges/select-badges.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select-badges/select-badges.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select/select-messages.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select/select-option.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select/select.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select/select.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select/select.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select/select.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/sparkline -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/sparkline/sparkline.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/sparkline/sparkline.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/sparkline/sparkline.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/sparkline/sparkline.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/submit-button -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/submit-button/submit-button.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/submit-button/submit-button.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/submit-button/submit-button.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/telemetry-notification -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/telemetry-notification/telemetry-notification.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/telemetry-notification/telemetry-notification.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/telemetry-notification/telemetry-notification.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/usage-bar -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/usage-bar/usage-bar.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/usage-bar/usage-bar.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/usage-bar/usage-bar.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/view-cache -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/view-cache/view-cache.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/view-cache/view-cache.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/view-cache/view-cache.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/constants -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/constants/app.constants.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/datatable.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table-actions -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table-actions/table-actions.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table-actions/table-actions.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table-actions/table-actions.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table-key-value -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/decorators -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/decorators/cd-encode.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/decorators/cd-encode.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/autofocus.directive.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/autofocus.directive.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/copy2clipboard-button.directive.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/copy2clipboard-button.directive.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/dimless-binary-per-second.directive.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/dimless-binary.directive.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/dimless-binary.directive.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/directives.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/form-input-disable.directive.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/form-input-disable.directive.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/form-scope.directive.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/form-scope.directive.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/iops.directive.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/iops.directive.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/milliseconds.directive.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/milliseconds.directive.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/password-button.directive.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/password-button.directive.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/trim.directive.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/trim.directive.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/enum -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/enum/cell-template.enum.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/enum/components.enum.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/enum/icons.enum.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/enum/notification-type.enum.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/enum/unix_errno.enum.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/enum/view-cache-status.enum.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/forms -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/forms/cd-form-builder.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/forms/cd-form-builder.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/forms/cd-form-group.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/forms/cd-form-group.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/forms/cd-validators.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/forms/cd-validators.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/alertmanager-silence.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/breadcrumbs.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-form-modal-field-config.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-notification.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-notification.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-pwd-expiration-settings.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-pwd-policy-settings.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-table-action.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-table-column-filter.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-table-column-filters-change.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-table-column.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-table-fetch-data-context.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-table-selection.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-user-config.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cephfs-directory-models.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/chart-tooltip.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/configuration.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/credentials.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/crush-node.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/crush-rule.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/crush-step.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/daemon.interface.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/devices.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/erasure-code-profile.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/executing-task.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/finished-task.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/flag.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/image-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/login-response.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/mirroring-summary.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/permission.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/permissions.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/pool-form-info.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/prometheus-alerts.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/service.interface.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/smart.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/summary.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/task-exception.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/task.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/array.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/array.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/boolean-text.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/boolean-text.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/boolean.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/boolean.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/cd-date.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/cd-date.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/ceph-release-name.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/ceph-release-name.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/ceph-short-version.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/ceph-short-version.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/dimless-binary-per-second.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/dimless-binary.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/dimless-binary.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/dimless.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/dimless.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/duration.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/duration.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/empty.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/empty.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/encode-uri.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/encode-uri.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/filter.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/filter.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/health-color.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/health-color.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/iops.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/iops.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/iscsi-backstore.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/iscsi-backstore.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/join.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/join.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/log-priority.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/log-priority.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/map.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/map.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/milliseconds.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/milliseconds.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/not-available.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/not-available.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/ordinal.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/ordinal.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/pipes.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/rbd-configuration-source.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/rbd-configuration-source.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/relative-date.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/relative-date.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/round.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/round.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/sanitize-html.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/sanitize-html.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/truncate.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/truncate.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/upper-first.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/upper-first.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/api-interceptor.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/api-interceptor.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/auth-guard.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/auth-guard.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/auth-storage.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/auth-storage.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/change-password-guard.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/change-password-guard.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/dep-checker.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/dep-checker.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/device.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/device.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/doc.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/doc.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/feature-toggles-guard.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/feature-toggles-guard.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/feature-toggles.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/feature-toggles.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/formatter.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/formatter.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/js-error-handler.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/language.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/language.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/module-status-guard.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/module-status-guard.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/motd-notification.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/motd-notification.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/ngzone-scheduler.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/no-sso-guard.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/no-sso-guard.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/notification.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/notification.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/password-policy.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/password-policy.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/prometheus-alert-formatter.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/prometheus-alert-formatter.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/prometheus-alert.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/prometheus-alert.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/prometheus-notification.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/prometheus-notification.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/prometheus-silence-matcher.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/prometheus-silence-matcher.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/rbd-configuration.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/rbd-configuration.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/refresh-interval.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/refresh-interval.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/summary.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/summary.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/task-list.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/task-list.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/task-manager.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/task-manager.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/task-message.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/task-message.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/task-wrapper.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/task-wrapper.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/telemetry-notification.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/telemetry-notification.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/text-to-download.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/text-to-download.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/time-diff.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/time-diff.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/timer.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/timer.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/url-builder.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/url-builder.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/shared.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/assets -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/assets/.gitkeep -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/assets/1500px-Southern_Keeled_Octopus.jpg -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/assets/Ceph_Logo_Stacked_RGB_120411_fa_228x228.png -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/assets/Ceph_Logo_Stacked_RGB_120411_fa_348x348.png -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/assets/Ceph_Logo_Standard_RGB_Reversed_120411_fa.png -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/assets/Ceph_Logo_Standard_RGB_White_120411_fa.png -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/assets/ceph_background.gif -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/assets/loading.gif -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/assets/logo-mini.png -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/assets/notification-icons.png -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/assets/prometheus_logo.svg -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/environments -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/environments/environment.tpl.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/favicon.ico -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/index.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/jestGlobalMocks.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/locale -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.cs.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.de-DE.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.es-ES.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.fr-FR.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.id-ID.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.it-IT.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.ja-JP.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.ko-KR.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.pl-PL.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.pt-BR.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.zh-CN.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.zh-TW.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/main.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/polyfills.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/setupJest.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/styles.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/styles -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/styles/bootstrap-extends.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/styles/chart-tooltip.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/styles/defaults.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/styles/vendor.overrides.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/styles/vendor.variables.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/testing -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/testing/activated-route-stub.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/testing/unit-test-helper.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/tsconfig.app.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/src/typings.d.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/tsconfig.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/tsconfig.spec.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/frontend/tslint.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/grafana.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/openapi.yaml -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/plugins -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/plugins/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/plugins/debug.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/plugins/feature_toggles.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/plugins/interfaces.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/plugins/lru_cache.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/plugins/motd.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/plugins/pluggy.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/plugins/plugin.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/plugins/ttl_cache.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/requirements-lint.txt -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/requirements-test.txt -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/rest_client.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/run-backend-api-request.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/run-backend-api-tests.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/run-backend-rook-api-request.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/run-frontend-e2e-tests.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/run-frontend-unittests.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/security.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/services -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/services/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/services/access_control.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/services/auth.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/services/ceph_service.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/services/cephfs.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/services/cephx.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/services/exception.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/services/ganesha.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/services/iscsi_cli.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/services/iscsi_client.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/services/iscsi_config.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/services/orchestrator.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/services/progress.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/services/rbd.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/services/rgw_client.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/services/sso.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/services/tcmu_service.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/settings.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/tests -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/dashboard/tools.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/devicehealth -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/devicehealth/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/devicehealth/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_cloud -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_cloud/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_cloud/agent -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_cloud/agent/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics/ceph_cluster.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics/ceph_mon_osd.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics/ceph_pool.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics/db_relay.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics/sai_agent.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics/sai_cluster.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics/sai_disk.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics/sai_disk_smart.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics/sai_host.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_cloud/agent/predictor.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_cloud/common -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_cloud/common/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_cloud/common/client_pb2.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_cloud/common/client_pb2_grpc.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_cloud/common/clusterdata.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_cloud/common/cypher.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_cloud/common/grpcclient.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_cloud/common/server.crt -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_cloud/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_cloud/task.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/config.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_1.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_10.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_104.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_105.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_109.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_112.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_114.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_115.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_118.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_119.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_12.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_120.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_123.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_124.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_125.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_128.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_131.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_134.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_138.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_14.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_141.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_145.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_151.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_16.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_161.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_168.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_169.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_174.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_18.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_182.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_185.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_186.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_195.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_201.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_204.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_206.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_208.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_210.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_212.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_213.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_219.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_221.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_222.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_223.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_225.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_227.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_229.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_230.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_234.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_235.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_236.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_239.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_243.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_27.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_3.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_33.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_36.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_44.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_50.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_57.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_59.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_6.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_61.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_62.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_67.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_69.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_71.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_72.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_78.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_79.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_82.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_85.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_88.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_93.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_97.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/redhat -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/redhat/config.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/redhat/hgst_predictor.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/redhat/hgst_scaler.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/redhat/seagate_predictor.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/models/redhat/seagate_scaler.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/diskprediction_local/predictor.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/hello -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/influx -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/influx/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/influx/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/insights -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/insights/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/insights/health.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/insights/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/insights/tests -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/iostat -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/iostat/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/iostat/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/k8sevents -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/k8sevents/README.md -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/k8sevents/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/k8sevents/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/k8sevents/rbac_sample.yaml -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/localpool -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/localpool/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/localpool/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/mgr_module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/mgr_util.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/orchestrator -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/orchestrator/README.md -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/orchestrator/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/orchestrator/_interface.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/orchestrator/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/orchestrator/tests -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/osd_perf_query -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/osd_support -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/osd_support/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/osd_support/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/pg_autoscaler -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/pg_autoscaler/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/pg_autoscaler/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/pg_autoscaler/tests -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/progress -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/progress/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/progress/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/progress/test_progress.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/prometheus -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/prometheus/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/prometheus/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/rbd_support -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/rbd_support/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/rbd_support/common.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/rbd_support/mirror_snapshot_schedule.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/rbd_support/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/rbd_support/perf.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/rbd_support/schedule.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/rbd_support/task.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/rbd_support/trash_purge_schedule.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/restful -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/restful/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/restful/api -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/restful/api/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/restful/api/config.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/restful/api/crush.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/restful/api/doc.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/restful/api/mon.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/restful/api/osd.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/restful/api/perf.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/restful/api/pool.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/restful/api/request.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/restful/api/server.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/restful/common.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/restful/context.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/restful/decorators.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/restful/hooks.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/restful/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/rook -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/rook/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/rook/generate_rook_ceph_client.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/rook/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/rook/rook_cluster.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/rook/rook_client -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/rook/rook_client/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/rook/rook_client/_helper.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/rook/rook_client/ceph -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/rook/rook_client/ceph/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/rook/rook_client/ceph/cephclient.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/rook/rook_client/ceph/cephcluster.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/rook/rook_client/ceph/cephfilesystem.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/rook/rook_client/ceph/cephnfs.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/rook/rook_client/ceph/cephobjectstore.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/selftest -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/selftest/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/selftest/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/status -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/status/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/status/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/telegraf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/telegraf/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/telegraf/basesocket.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/telegraf/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/telegraf/protocol.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/telegraf/utils.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/telemetry -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/telemetry/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/telemetry/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/test_orchestrator -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/test_orchestrator/README.md -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/test_orchestrator/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/test_orchestrator/dummy_data.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/test_orchestrator/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/tests -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/async_cloner.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/async_job.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/exception.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/fs_util.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/nfs.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/operations -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/operations/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/operations/access.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/operations/clone_index.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/operations/group.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/operations/index.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/operations/lock.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/operations/pin_util.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/operations/rankevicter.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/operations/resolver.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/operations/snapshot_util.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/operations/subvolume.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/operations/template.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/operations/trash.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/operations/versions -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/operations/versions/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/operations/versions/auth_metadata.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/operations/versions/metadata_manager.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/operations/versions/op_sm.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/operations/versions/subvolume_attrs.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/operations/versions/subvolume_base.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/operations/versions/subvolume_v1.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/operations/versions/subvolume_v2.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/operations/volume.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/purge_queue.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/vol_spec.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/fs/volume.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/volumes/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/zabbix -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/zabbix/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/ceph/mgr/zabbix/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume copying build/lib/ceph_volume/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume copying build/lib/ceph_volume/configuration.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume copying build/lib/ceph_volume/decorators.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume copying build/lib/ceph_volume/exceptions.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume copying build/lib/ceph_volume/log.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume copying build/lib/ceph_volume/main.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume copying build/lib/ceph_volume/process.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume copying build/lib/ceph_volume/terminal.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/api copying build/lib/ceph_volume/api/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/api copying build/lib/ceph_volume/api/lvm.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/api creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices copying build/lib/ceph_volume/devices/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/drive_group creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/inventory copying build/lib/ceph_volume/inventory/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/inventory copying build/lib/ceph_volume/inventory/main.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/inventory creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/systemd copying build/lib/ceph_volume/systemd/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/systemd copying build/lib/ceph_volume/systemd/main.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/systemd copying build/lib/ceph_volume/systemd/systemctl.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/systemd creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests copying build/lib/ceph_volume/tests/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests copying build/lib/ceph_volume/tests/conftest.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/raw creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/util copying build/lib/ceph_volume/util/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/util copying build/lib/ceph_volume/util/constants.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/util copying build/lib/ceph_volume/util/device.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/util copying build/lib/ceph_volume/util/disk.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/util copying build/lib/ceph_volume/util/encryption.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/util copying build/lib/ceph_volume/util/lsmdisk.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/util copying build/lib/ceph_volume/util/prepare.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/util copying build/lib/ceph_volume/util/system.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/util copying build/lib/ceph_volume/util/templates.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/util byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/configuration.py to configuration.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/decorators.py to decorators.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/exceptions.py to exceptions.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/log.py to log.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/main.py to main.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/process.py to process.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/terminal.py to terminal.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/sbin Installing ceph-volume-systemd script to /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph copying build/lib/ceph/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph copying build/lib/ceph/exceptions.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph copying build/lib/ceph/utils.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/deployment copying build/lib/ceph/deployment/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/deployment copying build/lib/ceph/deployment/drive_group.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/deployment copying build/lib/ceph/deployment/hostspec.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/deployment copying build/lib/ceph/deployment/inventory.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/deployment copying build/lib/ceph/deployment/service_spec.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/deployment copying build/lib/ceph/deployment/translate.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/deployment copying build/lib/ceph/deployment/utils.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/deployment creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/tests copying build/lib/ceph/tests/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/tests copying build/lib/ceph/tests/factories.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/tests copying build/lib/ceph/tests/test_datetime.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/tests copying build/lib/ceph/tests/test_disk_selector.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/tests copying build/lib/ceph/tests/test_drive_group.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/tests copying build/lib/ceph/tests/test_inventory.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/tests copying build/lib/ceph/tests/test_service_spec.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/tests copying build/lib/ceph/tests/test_utils.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/tests copying build/lib/ceph/tests/utils.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/tests byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/exceptions.py to exceptions.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/utils.py to utils.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/deployment/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/deployment/hostspec.py to hostspec.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/deployment/inventory.py to inventory.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/deployment/translate.py to translate.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/deployment/utils.py to utils.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/tests/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/tests/factories.py to factories.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/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-0.an23.aarch64/usr/bin/ceph-bluestore-tool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-bluestore-tool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/erasure-code/libec_jerasure.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/erasure-code/libec_jerasure_generic.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/erasure-code/libec_jerasure_neon.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/erasure-code/libec_lrc.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/erasure-code/libec_shec.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/erasure-code/libec_shec_generic.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/erasure-code/libec_shec_neon.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/erasure-code/libec_clay.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/erasure-code/libec_isa.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/compressor/libceph_snappy.so.2.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/compressor/libceph_snappy.so.2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/compressor/libceph_snappy.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/compressor/libceph_zlib.so.2.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/compressor/libceph_zlib.so.2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/compressor/libceph_zlib.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/compressor/libceph_zstd.so.2.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/compressor/libceph_zstd.so.2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/compressor/libceph_zstd.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/compressor/libceph_lz4.so.2.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/compressor/libceph_lz4.so.2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/compressor/libceph_lz4.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rados -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rados" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_scratchtool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_scratchtool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_scratchtoolpp -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_scratchtoolpp" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_radosacl -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_radosacl" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/ceph-monstore-update-crush.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-osdomap-tool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-osdomap-tool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-monstore-tool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-monstore-tool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-objectstore-tool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-objectstore-tool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-client-debug -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-client-debug" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-kvstore-tool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-kvstore-tool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-conf -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-conf" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/crushtool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/crushtool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/monmaptool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/monmaptool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/osdmaptool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/osdmaptool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-diff-sorted -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_psim -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_psim" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-authtool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-authtool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-dedup-tool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-dedup-tool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/cephfs-journal-tool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/cephfs-journal-tool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/cephfs-table-tool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/cephfs-table-tool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/cephfs-data-scan -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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 warning: install_lib: 'build/lib' does not exist -- no Python modules to install running install_egg_info 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-0.an23.aarch64/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-0.an23.aarch64/usr/bin changing mode of /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/cephfs-shell to 755 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbd -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbd" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbd-mirror -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbd-mirror" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbd-nbd -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbd-nbd" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-immutable-object-cache -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-immutable-object-cache" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-dencoder -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-dencoder" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-erasure-code-tool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-erasure-code-tool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_kvstorebench -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_kvstorebench" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_rgw_meta -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_rgw_meta" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_bench_log -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_bench_log" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_multi_stress_watch -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_multi_stress_watch" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_objectstore_bench -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_objectstore_bench" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_omapbench -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_omapbench" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_perf_local -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_perf_local" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_filejournal -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_filejournal" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_stress_watch -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_stress_watch" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_admin_socket_output -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_admin_socket_output" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_hello -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_hello" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_lock -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_lock" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_log -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_log" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_numops -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_numops" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_sdk -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_sdk" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_journal -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_journal" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_rbd -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_rbd" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_refcount -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_refcount" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_rgw -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_rgw" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_lua -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_lua" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_rgw_gc -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_rgw_gc" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_queue -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_queue" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_erasure_code_benchmark -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_erasure_code_benchmark" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_trim_caps -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_trim_caps" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_ino_release_cb -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_ino_release_cb" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_libcephfs -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_libcephfs" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_libcephfs_reclaim -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_libcephfs_reclaim" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_libcephfs_lazyio -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_libcephfs_lazyio" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_libcephfs_access -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_libcephfs_access" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_aio -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_aio" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_aio_pp -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_aio_pp" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_asio -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_asio" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_c_read_operations -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_c_read_operations" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_c_write_operations -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_c_write_operations" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_cmd -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_cmd" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_cmd_pp -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_cmd_pp" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_io -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_io" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_io_pp -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_io_pp" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_list -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_list" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_lock -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_lock" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_lock_pp -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_lock_pp" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_misc -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_misc" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_misc_pp -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_misc_pp" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_pool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_pool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_service -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_service" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_service_pp -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_service_pp" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_snapshots -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_snapshots" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_snapshots_pp -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_snapshots_pp" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_stat -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_stat" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_stat_pp -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_stat_pp" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_tier_pp -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_tier_pp" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_watch_notify -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_watch_notify" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_watch_notify_pp -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_watch_notify_pp" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_striper_api_striping -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_striper_api_striping" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_striper_api_io -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_striper_api_io" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_striper_api_aio -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_striper_api_aio" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_librbd_fsx -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_librbd_fsx" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_librbd -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_librbd" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_mon_workloadgen -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_mon_workloadgen" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_mon_memory_target -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_log_rss_usage -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_mon_rss_usage -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_async_driver -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_async_driver" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_msgr -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_msgr" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_async_networkstack -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_async_networkstack" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_perf_msgr_server -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_perf_msgr_server" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_perf_msgr_client -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_perf_msgr_client" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_perf_objectstore -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_perf_objectstore" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_objectstore -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_objectstore" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_keyvaluedb -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_keyvaluedb" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_filestore_idempotent_sequence -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_filestore_idempotent_sequence" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_bmap_alloc_replay -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_bmap_alloc_replay" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_osd_stale_read -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_osd_stale_read" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_objectcacher_stress -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_objectcacher_stress" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_immutable_obj_cache -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_immutable_obj_cache" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rgw_obj -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rgw_obj" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rgw_throttle -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rgw_throttle" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rgw_gc_log -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rgw_gc_log" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rbd_mirror -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rbd_mirror" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rbd_mirror_random_write -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rbd_mirror_random_write" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_delete_pools_parallel -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_delete_pools_parallel" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_list_parallel -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_list_parallel" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_open_pools_parallel -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_open_pools_parallel" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_lazy_omap_stats -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_lazy_omap_stats" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/crypto/libceph_crypto_openssl.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/etc/bash_completion.d/ceph -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/etc/bash_completion.d/rados -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/etc/bash_completion.d/rbd -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/etc/bash_completion.d/radosgw-admin -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/sbin/mount.ceph -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/sbin/mount.ceph" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/librbd.so.1.12.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/librbd.so.1 -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/librbd.so.1.12.0" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/librbd.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbd-fuse -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbd-fuse" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbd-replay -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbd-replay" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbd-replay-prep -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbd-replay-prep" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_kvs.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_kvs.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_kvs.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/libradosgw.so.2.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/libradosgw.so.2 -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/libradosgw.so.2.0.0" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/libradosgw.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/radosgw -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/radosgw" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/radosgw-admin -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/radosgw-admin" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/radosgw-es -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/radosgw-es" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/radosgw-token -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/radosgw-token" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/radosgw-object-expirer -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/radosgw-object-expirer" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/librgw.so.2.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/librgw.so.2 -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/librgw.so.2.0.0" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/librgw.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_rgw_jsonparser -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_rgw_jsonparser" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_rgw_multiparser -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_rgw_multiparser" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rgw-gap-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rgw-gap-list-comparator -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rgw-orphan-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/ceph-syn.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/ceph-conf.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/ceph.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/ceph-authtool.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/ceph-kvstore-tool.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/rados.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/ceph-post-file.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/ceph-dencoder.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/ceph-deploy.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/crushtool.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/ceph-run.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/mount.ceph.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/ceph-create-keys.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/ceph-debugpack.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/ceph-clsinfo.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/ceph-volume.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/ceph-volume-systemd.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/ceph-osd.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/osdmaptool.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/ceph-bluestore-tool.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/ceph-mon.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/monmaptool.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/ceph-mds.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/librados-config.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/cephadm.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/ceph-fuse.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/rbd-fuse.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/radosgw.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/radosgw-admin.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/rgw-orphan-list.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/ceph-diff-sorted.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/ceph-rbdnamer.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/rbd-mirror.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/rbd-replay-many.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/rbd-replay-prep.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/rbd-replay.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/rbdmap.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/rbd.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/rbd-nbd.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/ceph-immutable-object-cache.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/man/man8/ceph_selinux.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/systemd/system/ceph-crash.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/systemd/system/ceph-fuse@.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/systemd/system/ceph-mds@.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/systemd/system/ceph-mgr@.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/systemd/system/ceph-mon@.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/systemd/system/ceph-osd@.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/systemd/system/ceph-radosgw@.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/systemd/system/ceph-rbd-mirror@.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/systemd/system/ceph-immutable-object-cache@.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/systemd/system/rbdmap.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/systemd/system/ceph.target -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/systemd/system/ceph-fuse.target -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/systemd/system/ceph-osd.target -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/systemd/system/ceph-mgr.target -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/systemd/system/ceph-mon.target -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/systemd/system/ceph-mds.target -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/systemd/system/ceph-radosgw.target -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/systemd/system/ceph-rbd-mirror.target -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/systemd/system/ceph-immutable-object-cache.target -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/systemd/system/ceph-volume@.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/etc/grafana/dashboards/ceph-dashboard/ceph-cluster.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/etc/grafana/dashboards/ceph-dashboard/cephfs-overview.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/etc/grafana/dashboards/ceph-dashboard/host-details.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/etc/grafana/dashboards/ceph-dashboard/hosts-overview.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/etc/grafana/dashboards/ceph-dashboard/osd-device-details.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/etc/grafana/dashboards/ceph-dashboard/osds-overview.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/etc/grafana/dashboards/ceph-dashboard/pool-detail.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/etc/grafana/dashboards/ceph-dashboard/pool-overview.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/etc/grafana/dashboards/ceph-dashboard/radosgw-detail.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/etc/grafana/dashboards/ceph-dashboard/radosgw-overview.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/etc/grafana/dashboards/ceph-dashboard/radosgw-sync-overview.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/etc/grafana/dashboards/ceph-dashboard/rbd-details.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/etc/grafana/dashboards/ceph-dashboard/rbd-overview.json + rm -f /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64//etc/init.d/ceph + popd ~/build/BUILD/dsms-storage + install -m 0644 -D src/etc-rbdmap /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/etc/ceph/rbdmap + install -m 0644 -D etc/sysconfig/ceph /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/etc/sysconfig/ceph + install -m 0644 -D systemd/ceph.tmpfiles.d /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/tmpfiles.d/ceph-common.conf + install -m 0644 -D systemd/50-ceph.preset /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/systemd/system-preset/50-ceph.preset + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/sbin + install -m 0644 -D src/logrotate.conf /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/etc/logrotate.d/ceph + chmod 0644 /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/doc/ceph/sample.ceph.conf + install -m 0644 -D COPYING /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/doc/ceph/COPYING + install -m 0644 -D etc/sysctl/90-ceph-osd.conf /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/sysctl.d/90-ceph-osd.conf + install -m 0755 src/cephadm/cephadm /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/sbin/cephadm + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/var/lib/cephadm + chmod 0700 /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/var/lib/cephadm + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/var/lib/cephadm/.ssh + chmod 0700 /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/var/lib/cephadm/.ssh + touch /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/var/lib/cephadm/.ssh/authorized_keys + chmod 0600 /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/var/lib/cephadm/.ssh/authorized_keys + install -m 0644 -D udev/50-rbd.rules /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/udev/rules.d/50-rbd.rules + install -m 0440 -D sudoers.d/ceph-osd-smartctl /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/etc/sudoers.d/ceph-osd-smartctl + pathfix.py -pni '/usr/bin/python3 -s' /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-authtool /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-bluestore-tool /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-client-debug /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-clsinfo /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-conf /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-coverage /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-crash /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-debugpack /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-dedup-tool /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-dencoder /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-diff-sorted /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-erasure-code-tool /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-fuse /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-immutable-object-cache /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-kvstore-tool /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-mds /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-mgr /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-mon /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-monstore-tool /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-objectstore-tool /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-osd /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-osdomap-tool /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-post-file /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-rbdnamer /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-run /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-syn /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_bench_log /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_erasure_code_benchmark /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_kvstorebench /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_multi_stress_watch /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_objectstore_bench /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_omapbench /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_perf_local /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_perf_msgr_client /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_perf_msgr_server /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_perf_objectstore /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_psim /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_radosacl /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_rgw_jsonparser /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_rgw_multiparser /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_scratchtool /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_scratchtoolpp /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_admin_socket_output /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_async_driver /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_async_networkstack /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_bmap_alloc_replay /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_hello /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_journal /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_lock /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_log /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_lua /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_numops /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_queue /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_rbd /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_refcount /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_rgw /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_rgw_gc /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_rgw_meta /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_sdk /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_filejournal /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_filestore_idempotent_sequence /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_immutable_obj_cache /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_ino_release_cb /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_keyvaluedb /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_lazy_omap_stats /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_libcephfs /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_libcephfs_access /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_libcephfs_lazyio /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_libcephfs_reclaim /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_librbd /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_librbd_fsx /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_log_rss_usage /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_mon_memory_target /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_mon_rss_usage /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_mon_workloadgen /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_msgr /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_objectcacher_stress /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_objectstore /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_osd_stale_read /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_aio /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_aio_pp /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_asio /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_c_read_operations /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_c_write_operations /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_cmd /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_cmd_pp /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_io /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_io_pp /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_list /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_lock /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_lock_pp /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_misc /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_misc_pp /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_pool /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_service /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_service_pp /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_snapshots /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_snapshots_pp /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_stat /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_stat_pp /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_tier_pp /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_watch_notify /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_watch_notify_pp /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_delete_pools_parallel /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_list_parallel /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_open_pools_parallel /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_striper_api_aio /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_striper_api_io /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_striper_api_striping /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rbd_mirror /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rbd_mirror_random_write /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rgw_gc_log /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rgw_obj /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rgw_throttle /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_stress_watch /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_trim_caps /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/cephfs-data-scan /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/cephfs-journal-tool /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/cephfs-shell /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/cephfs-table-tool /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/crushtool /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/librados-config /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/monmaptool /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/osdmaptool /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rados /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/radosgw /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/radosgw-admin /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/radosgw-es /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/radosgw-object-expirer /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/radosgw-token /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbd /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbd-fuse /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbd-mirror /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbd-nbd /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbd-replay /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbd-replay-many /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbd-replay-prep /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbdmap /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rgw-gap-list /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rgw-gap-list-comparator /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rgw-orphan-list /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph: updating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-authtool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-bluestore-tool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-client-debug: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-clsinfo: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-conf: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-coverage: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-crash: updating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-debugpack: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-dedup-tool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-dencoder: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-diff-sorted: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-erasure-code-tool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-fuse: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-immutable-object-cache: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-kvstore-tool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-mds: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-mgr: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-mon: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-monstore-tool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-objectstore-tool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-osd: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-osdomap-tool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-post-file: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-rbdnamer: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-run: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-syn: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_bench_log: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_erasure_code_benchmark: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_kvstorebench: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_multi_stress_watch: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_objectstore_bench: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_omapbench: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_perf_local: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_perf_msgr_client: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_perf_msgr_server: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_perf_objectstore: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_psim: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_radosacl: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_rgw_jsonparser: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_rgw_multiparser: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_scratchtool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_scratchtoolpp: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_admin_socket_output: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_async_driver: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_async_networkstack: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_bmap_alloc_replay: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_hello: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_journal: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_lock: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_log: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_lua: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_numops: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_queue: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_rbd: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_refcount: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_rgw: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_rgw_gc: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_rgw_meta: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_sdk: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_filejournal: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_filestore_idempotent_sequence: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_immutable_obj_cache: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_ino_release_cb: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_keyvaluedb: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_lazy_omap_stats: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_libcephfs: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_libcephfs_access: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_libcephfs_lazyio: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_libcephfs_reclaim: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_librbd: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_librbd_fsx: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_log_rss_usage: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_mon_memory_target: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_mon_rss_usage: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_mon_workloadgen: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_msgr: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_objectcacher_stress: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_objectstore: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_osd_stale_read: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_aio: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_aio_pp: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_asio: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_c_read_operations: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_c_write_operations: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_cmd: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_cmd_pp: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_io: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_io_pp: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_list: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_lock: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_lock_pp: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_misc: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_misc_pp: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_pool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_service: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_service_pp: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_snapshots: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_snapshots_pp: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_stat: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_stat_pp: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_tier_pp: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_watch_notify: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_watch_notify_pp: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_delete_pools_parallel: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_list_parallel: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_open_pools_parallel: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_striper_api_aio: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_striper_api_io: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_striper_api_striping: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rbd_mirror: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rbd_mirror_random_write: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rgw_gc_log: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rgw_obj: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rgw_throttle: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_stress_watch: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_trim_caps: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/cephfs-data-scan: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/cephfs-journal-tool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/cephfs-shell: updating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/cephfs-table-tool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/crushtool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/librados-config: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/monmaptool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/osdmaptool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rados: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/radosgw: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/radosgw-admin: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/radosgw-es: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/radosgw-object-expirer: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/radosgw-token: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbd: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbd-fuse: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbd-mirror: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbd-nbd: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbd-replay: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbd-replay-many: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbd-replay-prep: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbdmap: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rgw-gap-list: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rgw-gap-list-comparator: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rgw-orphan-list: no change + pathfix.py -pni '/usr/bin/python3 -s' /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/sbin/ceph-create-keys /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/sbin/ceph-volume /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/sbin/ceph-volume-systemd /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/sbin/cephadm /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/sbin/mount.ceph /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/sbin/mount.fuse.ceph /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/sbin/ceph-create-keys: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/sbin/ceph-volume: updating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/sbin/ceph-volume-systemd: updating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/sbin/cephadm: updating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/sbin/mount.ceph: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/sbin/mount.fuse.ceph: updating + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/etc/ceph + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/var/run/ceph + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/var/log/ceph + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/var/lib/ceph/tmp + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/var/lib/ceph/mon + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/var/lib/ceph/osd + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/var/lib/ceph/mds + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/var/lib/ceph/mgr + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/var/lib/ceph/crash + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/var/lib/ceph/crash/posted + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/var/lib/ceph/radosgw + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/var/lib/ceph/bootstrap-osd + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/var/lib/ceph/bootstrap-mds + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/var/lib/ceph/bootstrap-rgw + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/var/lib/ceph/bootstrap-mgr + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/var/lib/ceph/bootstrap-rbd + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/var/lib/ceph/bootstrap-rbd-mirror + install -m 644 -D monitoring/prometheus/alerts/ceph_default_alerts.yml /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/etc/prometheus/ceph/ceph_default_alerts.yml + [[ /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-0.an23.aarch64/usr/lib/python3.10/site-packages + python_binary='env PYTHONHASHSEED=0 /usr/bin/python3' + bytecode_compilation_path=/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64 -p / --hardlink-dupes /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/__init__.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/deployment'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/deployment/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/deployment/drive_group.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection/filter.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection/matchers.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection/selector.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/deployment/hostspec.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/deployment/inventory.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/deployment/service_spec.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/deployment/translate.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/deployment/utils.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/exceptions.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/tests'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/tests/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/tests/factories.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/tests/test_datetime.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/tests/test_disk_selector.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/tests/test_drive_group.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/tests/test_inventory.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/tests/test_service_spec.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/tests/test_utils.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/tests/utils.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph/utils.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph-1.0.0-py3.10.egg-info'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_argparse.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_daemon.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/__init__.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/api'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/api/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/api/lvm.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/configuration.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/decorators.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices/__init__.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/activate.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/batch.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/common.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/create.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/deactivate.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/listing.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/main.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/migrate.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/prepare.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/trigger.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/zap.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw/activate.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw/common.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw/list.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw/main.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw/prepare.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple/activate.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple/main.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple/scan.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple/trigger.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/drive_group'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/drive_group/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/drive_group/main.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/exceptions.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/inventory'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/inventory/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/inventory/main.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/log.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/main.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/process.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/systemd'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/systemd/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/systemd/main.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/systemd/systemctl.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/terminal.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests/conftest.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/__init__.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_activate.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_batch.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_common.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_create.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_deactivate.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_listing.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_migrate.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_prepare.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_trigger.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_zap.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/raw'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/raw/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/raw/test_list.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/raw/test_prepare.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/test_zap.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests/test_configuration.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests/test_decorators.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests/test_inventory.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests/test_main.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests/test_process.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/tests/test_terminal.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/util'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/util/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/util/arg_validators.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/util/constants.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/util/device.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/util/disk.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/util/encryption.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/util/lsmdisk.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/util/prepare.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/util/system.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume/util/templates.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume-1.0.0-py3.10.egg-info'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10/site-packages/ceph_volume_client.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23 --unique-debug-suffix -1.0-0.an23.aarch64 --unique-debug-src-base dsms-storage-1.0-0.an23.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/dsms-storage extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-bluestore-tool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-authtool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-client-debug extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-conf extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-dedup-tool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-diff-sorted extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-dencoder extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-erasure-code-tool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-immutable-object-cache extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-kvstore-tool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-mon extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-mgr extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-fuse extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-mds extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-monstore-tool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-objectstore-tool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-osd extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_bench_log extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-syn extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_erasure_code_benchmark extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_kvstorebench extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph-osdomap-tool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_multi_stress_watch extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_objectstore_bench extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_omapbench extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_perf_local extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_perf_msgr_client extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_perf_objectstore extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_radosacl extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_perf_msgr_server extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_rgw_jsonparser extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_psim extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_rgw_multiparser extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_scratchtoolpp extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_admin_socket_output extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_scratchtool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_async_driver extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_async_networkstack extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_lock extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_journal extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_hello extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_bmap_alloc_replay extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_lua extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_log extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_queue extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_refcount extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_numops extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_rbd extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_rgw extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_rgw_gc extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_rgw_meta extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_filestore_idempotent_sequence extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_filejournal extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_cls_sdk extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_immutable_obj_cache extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_ino_release_cb extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_lazy_omap_stats extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_keyvaluedb extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_libcephfs extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_libcephfs_reclaim extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_libcephfs_access extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_librbd extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_libcephfs_lazyio extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_librbd_fsx extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_log_rss_usage extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_mon_memory_target extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_mon_workloadgen extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_mon_rss_usage extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_msgr extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_objectcacher_stress extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_objectstore extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_aio_pp extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_osd_stale_read extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_aio extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_asio extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_c_read_operations extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_cmd extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_c_write_operations extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_cmd_pp 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. Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_io extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_lock extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_io_pp extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_list extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_lock_pp extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_misc 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-0.an23.aarch64/usr/bin/ceph_test_rados_api_misc_pp extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_pool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_service 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-0.an23.aarch64/usr/bin/ceph_test_rados_api_service_pp extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_snapshots_pp extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_snapshots extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_stat extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_tier_pp extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_stat_pp extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_watch_notify_pp extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_open_pools_parallel extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_delete_pools_parallel extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rbd_mirror extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_striper_api_io extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_api_watch_notify extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rbd_mirror_random_write extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_list_parallel extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_striper_api_striping extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rgw_gc_log extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rados_striper_api_aio extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rgw_obj extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_stress_watch extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_rgw_throttle extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/ceph_test_trim_caps extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/cephfs-data-scan extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/crushtool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/cephfs-journal-tool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/monmaptool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/librados-config extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rados extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/radosgw-es extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/radosgw-admin extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/radosgw extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/radosgw-object-expirer extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbd extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/radosgw-token extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/osdmaptool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/cephfs-table-tool 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-0.an23.aarch64/usr/bin/rbd-fuse Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbd-nbd extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbd-replay-prep extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbd-mirror extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/bin/rbd-replay extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/compressor/libceph_lz4.so.2.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/compressor/libceph_zlib.so.2.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/erasure-code/libec_clay.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/compressor/libceph_snappy.so.2.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/crypto/libceph_crypto_openssl.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/compressor/libceph_zstd.so.2.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/erasure-code/libec_jerasure.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/erasure-code/libec_isa.so 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-0.an23.aarch64/usr/lib64/ceph/erasure-code/libec_jerasure_generic.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/erasure-code/libec_jerasure_neon.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/erasure-code/libec_lrc.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/erasure-code/libec_shec_generic.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/erasure-code/libec_shec.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/erasure-code/libec_shec_neon.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/ceph/libceph-common.so.2 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/libcephfs.so.2.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/libos_tp.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/libosd_tp.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/librados.so.2.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-0.an23.aarch64/usr/lib64/librados_tp.so.2.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/libradosgw.so.2.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/libradosstriper.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. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/librbd.so.1.12.0 Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/librbd_tp.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/librgw.so.2.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/librgw_op_tp.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/librgw_rados_tp.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/python3.10/site-packages/rados.cpython-310-aarch64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/python3.10/site-packages/rbd.cpython-310-aarch64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/python3.10/site-packages/cephfs.cpython-310-aarch64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/python3.10/site-packages/rgw.cpython-310-aarch64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_cas.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_hello.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_cephfs.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_lock.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_kvs.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_log.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_journal.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. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_lua.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-0.an23.aarch64/usr/lib64/rados-classes/libcls_otp.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_numops.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-0.an23.aarch64/usr/lib64/rados-classes/libcls_rbd.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_queue.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_refcount.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_rgw_gc.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_rgw.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_sdk.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_timeindex.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_version.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib64/rados-classes/libcls_user.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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. 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. 98630 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 libm.so.6 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-aarch64-linux-gnu.so: libm.so.6 Warning: unused libraries in /usr/lib64/python3.10/site-packages/rbd.cpython-310-aarch64-linux-gnu.so: libcrypt.so.2 libm.so.6 Warning: unused libraries in /usr/lib64/python3.10/site-packages/cephfs.cpython-310-aarch64-linux-gnu.so: libm.so.6 Warning: unused libraries in /usr/lib64/python3.10/site-packages/rgw.cpython-310-aarch64-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 libm.so.6 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 libm.so.6 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_scratchtool: 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 libstdc++.so.6 libm.so.6 libgcc_s.so.1 Warning: unused libraries in /usr/bin/ceph_scratchtoolpp: 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_radosacl: 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-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-client-debug: 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-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_psim: 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/ceph-dedup-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 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libresolv.so.2 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 libm.so.6 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/ceph_kvstorebench: 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 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_cls_rgw_meta: liblber.so.2 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 libudev.so.1 libibverbs.so.1 librdmacm.so.1 liboath.so.0 Warning: unused libraries in /usr/bin/ceph_bench_log: 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 libm.so.6 Warning: unused libraries in /usr/bin/ceph_multi_stress_watch: 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 libm.so.6 Warning: unused libraries in /usr/bin/ceph_objectstore_bench: 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 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libresolv.so.2 Warning: unused libraries in /usr/bin/ceph_omapbench: libboost_program_options.so.1.81.0 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_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_perf_local: liblber.so.2 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/ceph_test_filejournal: liblber.so.2 libresolv.so.2 libblkid.so.1 libleveldb.so.1 libsnappy.so.1 liblz4.so.1 libz.so.1 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 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_stress_watch: liblber.so.2 libresolv.so.2 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 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_admin_socket_output: 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_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 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_cls_hello: libblkid.so.1 libldap.so.2 liblber.so.2 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 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_cls_lock: liblber.so.2 libblkid.so.1 libcrypto.so.3 libresolv.so.2 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 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_cls_log: liblber.so.2 libblkid.so.1 libcrypto.so.3 libresolv.so.2 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 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_cls_numops: libblkid.so.1 libldap.so.2 liblber.so.2 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 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_cls_sdk: libblkid.so.1 libldap.so.2 liblber.so.2 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 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_cls_journal: liblber.so.2 libcrypto.so.3 libresolv.so.2 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/ceph_test_cls_rbd: liblber.so.2 libcrypto.so.3 libresolv.so.2 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/ceph_test_cls_refcount: liblber.so.2 libblkid.so.1 libcrypto.so.3 libresolv.so.2 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 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_cls_rgw: liblber.so.2 libresolv.so.2 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 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_cls_lua: liblber.so.2 libresolv.so.2 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 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_cls_rgw_gc: liblber.so.2 libresolv.so.2 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 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_cls_queue: liblber.so.2 libresolv.so.2 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 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libm.so.6 Warning: unused libraries in /usr/bin/ceph_erasure_code_benchmark: 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 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_trim_caps: 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 libstdc++.so.6 libm.so.6 libgcc_s.so.1 Warning: unused libraries in /usr/bin/ceph_test_ino_release_cb: 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 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_libcephfs: liblber.so.2 libresolv.so.2 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 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_libcephfs_reclaim: liblber.so.2 libresolv.so.2 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_libcephfs_lazyio: liblber.so.2 libresolv.so.2 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_libcephfs_access: liblber.so.2 libresolv.so.2 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 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_rados_api_aio: liblber.so.2 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/ceph_test_rados_api_aio_pp: liblber.so.2 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 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_rados_api_asio: liblber.so.2 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 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_rados_api_c_read_operations: liblber.so.2 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/ceph_test_rados_api_c_write_operations: liblber.so.2 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/ceph_test_rados_api_cmd: liblber.so.2 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/ceph_test_rados_api_cmd_pp: liblber.so.2 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 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_rados_api_io: liblber.so.2 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/ceph_test_rados_api_io_pp: liblber.so.2 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 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_rados_api_list: liblber.so.2 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/ceph_test_rados_api_lock: liblber.so.2 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/ceph_test_rados_api_lock_pp: liblber.so.2 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 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_rados_api_misc: liblber.so.2 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/ceph_test_rados_api_misc_pp: liblber.so.2 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 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_rados_api_pool: liblber.so.2 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/ceph_test_rados_api_service: liblber.so.2 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/ceph_test_rados_api_service_pp: liblber.so.2 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 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_rados_api_snapshots: liblber.so.2 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/ceph_test_rados_api_snapshots_pp: liblber.so.2 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 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_rados_api_stat: liblber.so.2 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/ceph_test_rados_api_stat_pp: liblber.so.2 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 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_rados_api_tier_pp: liblber.so.2 libboost_system.so.1.81.0 libceph-common.so.2 libresolv.so.2 libboost_thread.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/ceph_test_rados_api_watch_notify: liblber.so.2 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/ceph_test_rados_api_watch_notify_pp: liblber.so.2 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 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_rados_striper_api_striping: liblber.so.2 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 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_rados_striper_api_io: liblber.so.2 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 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_rados_striper_api_aio: liblber.so.2 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 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_librbd_fsx: libresolv.so.2 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 libibverbs.so.1 librdmacm.so.1 Warning: unused libraries in /usr/bin/ceph_test_librbd: liblber.so.2 libceph-common.so.2 libresolv.so.2 libboost_system.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 libboost_chrono.so.1.81.0 libboost_date_time.so.1.81.0 libboost_atomic.so.1.81.0 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_mon_workloadgen: libleveldb.so.1 libsnappy.so.1 liblz4.so.1 libz.so.1 libaio.so.1 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 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_async_driver: libldap.so.2 liblber.so.2 libleveldb.so.1 libsnappy.so.1 liblz4.so.1 libz.so.1 libaio.so.1 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 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_test_msgr: libldap.so.2 liblber.so.2 libleveldb.so.1 libsnappy.so.1 liblz4.so.1 libz.so.1 libaio.so.1 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 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_test_async_networkstack: libblkid.so.1 libldap.so.2 liblber.so.2 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 libresolv.so.2 libm.so.6 Warning: unused libraries in /usr/bin/ceph_perf_msgr_server: liblber.so.2 libleveldb.so.1 libsnappy.so.1 liblz4.so.1 libz.so.1 libaio.so.1 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 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_perf_msgr_client: liblber.so.2 libleveldb.so.1 libsnappy.so.1 liblz4.so.1 libz.so.1 libaio.so.1 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 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_perf_objectstore: liblber.so.2 libleveldb.so.1 libsnappy.so.1 liblz4.so.1 libz.so.1 libaio.so.1 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 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_test_objectstore: liblber.so.2 libresolv.so.2 libblkid.so.1 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 libudev.so.1 libibverbs.so.1 librdmacm.so.1 Warning: unused libraries in /usr/bin/ceph_test_keyvaluedb: liblber.so.2 libresolv.so.2 libblkid.so.1 libaio.so.1 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 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 Warning: unused libraries in /usr/bin/ceph_test_filestore_idempotent_sequence: libblkid.so.1 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 libudev.so.1 libibverbs.so.1 librdmacm.so.1 Warning: unused libraries in /usr/bin/ceph_test_bmap_alloc_replay: liblber.so.2 libleveldb.so.1 libsnappy.so.1 liblz4.so.1 libz.so.1 libaio.so.1 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 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_test_rados: libresolv.so.2 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 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_osd_stale_read: libldap.so.2 liblber.so.2 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 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_objectcacher_stress: 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 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_immutable_obj_cache: liblber.so.2 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 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_rgw_obj: 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 libblkid.so.1 libudev.so.1 libibverbs.so.1 librdmacm.so.1 liboath.so.0 Warning: unused libraries in /usr/bin/ceph_test_rgw_throttle: 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 libblkid.so.1 libudev.so.1 libibverbs.so.1 librdmacm.so.1 liboath.so.0 Warning: unused libraries in /usr/bin/ceph_test_rgw_gc_log: libexpat.so.1 libldap.so.2 liblber.so.2 liboath.so.0 libceph-common.so.2 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/bin/ceph_test_rbd_mirror: liblber.so.2 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 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_rbd_mirror_random_write: 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_test_rados_delete_pools_parallel: 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 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_rados_list_parallel: 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 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_rados_open_pools_parallel: 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 libm.so.6 Warning: unused libraries in /usr/bin/ceph_test_lazy_omap_stats: liblber.so.2 libboost_system.so.1.81.0 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/bin/ceph_rgw_jsonparser: 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 liblber.so.2 liboath.so.0 Warning: unused libraries in /usr/bin/ceph_rgw_multiparser: 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 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 _ZNK7Message4dumpEPN4ceph9FormatterE _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 _ZNK7Message4dumpEPN4ceph9FormatterE _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 _ZNK7Message4dumpEPN4ceph9FormatterE _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 _ZNK7Message4dumpEPN4ceph9FormatterE _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 _ZNK7Message4dumpEPN4ceph9FormatterE _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 _ZN10ThreadPool18handle_conf_changeERKN4ceph6common11ConfigProxyERKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessISB_ESaISB_EE _ZN10ThreadPool6workerEPNS_10WorkThreadE _ZTI9SafeTimer _ZTI10ThreadPool _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 _ZN10ThreadPool18handle_conf_changeERKN4ceph6common11ConfigProxyERKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessISB_ESaISB_EE _ZNK11md_config_t11find_optionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph6common16RefCountedObjectD2Ev _ZN4ceph6common11CephContext16get_admin_socketEv _ZN6Thread4joinEPPv _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZN19TokenBucketThrottle9set_limitEmm _ZNK4ceph6common16RefCountedObject3putEv _ZN10ThreadPool6workerEPNS_10WorkThreadE _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 _ZNK7Message4dumpEPN4ceph9FormatterE _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 _ZN4ceph9Formatter11dump_formatESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZN10JSONParser5parseEPKci _ZN6ThreadC2Ev _ZN4ceph6common11CephContext16notify_post_forkEv _Z14lockdep_lockedPKcib _ZN4ceph13from_iso_8601EN5boost16basic_string_refIcSt11char_traitsIcEEEb _ZN12AuthRegistryD1Ev _Z11get_str_vecRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcRSt6vectorIS4_SaIS4_EE _Z11encode_jsonPKcjPN4ceph9FormatterE _ZN4ceph9Formatter14dump_format_nsESt17basic_string_viewIcSt11char_traitsIcEEPKcS6_z _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 _ZN16OutputDataSocket5entryEv _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 _ZNK7Message4dumpEPN4ceph9FormatterE _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 _ZN4ceph9Formatter11dump_formatESt17basic_string_viewIcSt11char_traitsIcEEPKcz _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 _ZN4ceph9Formatter14dump_format_nsESt17basic_string_viewIcSt11char_traitsIcEEPKcS6_z _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 _ZN16OutputDataSocket5entryEv _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_neon.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_neon.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 _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: _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 _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/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_St9__va_list _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_St9__va_list _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_St9__va_list _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_St9__va_list _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-aarch64-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 _ZNK7Message4dumpEPN4ceph9FormatterE _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-aarch64-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 _ZNK7Message4dumpEPN4ceph9FormatterE _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 _ZN10ThreadPool18handle_conf_changeERKN4ceph6common11ConfigProxyERKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessISB_ESaISB_EE _ZN10ThreadPool6workerEPNS_10WorkThreadE _ZTI9SafeTimer _ZTI10ThreadPool _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 _ZN10ThreadPool18handle_conf_changeERKN4ceph6common11ConfigProxyERKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessISB_ESaISB_EE _ZNK11md_config_t11find_optionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph6common16RefCountedObjectD2Ev _ZN4ceph6common11CephContext16get_admin_socketEv _ZN6Thread4joinEPPv _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZN19TokenBucketThrottle9set_limitEmm _ZNK4ceph6common16RefCountedObject3putEv _ZN10ThreadPool6workerEPNS_10WorkThreadE _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-aarch64-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 _ZNK7Message4dumpEPN4ceph9FormatterE _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-aarch64-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 _ZNK7Message4dumpEPN4ceph9FormatterE _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 _ZN4ceph9Formatter11dump_formatESt17basic_string_viewIcSt11char_traitsIcEEPKcz _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 _ZN4ceph9Formatter14dump_format_nsESt17basic_string_viewIcSt11char_traitsIcEEPKcS6_z _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 _ZN16OutputDataSocket5entryEv _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/lib64/ceph/ceph-monstore-update-crush.sh from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/bin/ceph-debugpack from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/ceph-coverage from /bin/sh to #!/usr/bin/sh 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-0.an23.aarch64/src/client/Client.cc is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/dsms-storage-1.0-0.an23.aarch64/src/mds/CDir.cc is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/lib64/python3.10 using python3.10 Bytecompiling .py files below /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/python3.10 using python3.10 Bytecompiling .py files below /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/lib/debug/usr/lib64/python3.10 using python3.10 + /usr/lib/rpm/anolis/brp-python-hardlink Processing files: dsms-storage-1.0-0.an23.aarch64 Processing files: dsms-storage-base-1.0-0.an23.aarch64 Provides: ceph-test:/usr/bin/ceph-kvstore-tool config(dsms-storage-base) = 1.0-0.an23 dsms-storage-base = 1.0-0.an23 dsms-storage-base(aarch-64) = 1.0-0.an23 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_neon.so()(64bit) libec_lrc.so()(64bit) libec_shec.so()(64bit) libec_shec_generic.so()(64bit) libec_shec_neon.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-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(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.17)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libceph-common.so.2()(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) libgcc_s.so.1(GCC_4.2.0)(64bit) libgcc_s.so.1(GCC_4.5.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.17)(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) Recommends: chrony Processing files: cephadm-1.0-0.an23.noarch Provides: cephadm = 1.0-0.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 Recommends: podman Processing files: dsms-storage-common-1.0-0.an23.aarch64 Provides: config(dsms-storage-common) = 1.0-0.an23 dsms-storage-common = 1.0-0.an23 dsms-storage-common(aarch-64) = 1.0-0.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-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(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.17)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(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) libgcc_s.so.1(GCC_4.2.0)(64bit) libgcc_s.so.1(GCC_4.5.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.17)(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) Processing files: dsms-storage-mds-1.0-0.an23.aarch64 Provides: dsms-storage-mds = 1.0-0.an23 dsms-storage-mds(aarch-64) = 1.0-0.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-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(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.17)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(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.17)(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) Processing files: dsms-storage-mon-1.0-0.an23.aarch64 Provides: ceph-test:/usr/bin/ceph-monstore-tool dsms-storage-mon = 1.0-0.an23 dsms-storage-mon(aarch-64) = 1.0-0.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-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(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.17)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(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) libgcc_s.so.1(GCC_4.2.0)(64bit) libibverbs.so.1()(64bit) libleveldb.so.1()(64bit) liblz4.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(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) Recommends: nvme-cli Processing files: dsms-storage-mgr-1.0-0.an23.aarch64 Provides: dsms-storage-mgr = 1.0-0.an23 dsms-storage-mgr(aarch-64) = 1.0-0.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-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(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.17)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libceph-common.so.2()(64bit) libcrypto.so.3()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_4.5.0)(64bit) libibverbs.so.1()(64bit) libm.so.6()(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) Recommends: ceph-mgr-cephadm = 1.0-0.an23 ceph-mgr-dashboard = 1.0-0.an23 ceph-mgr-diskprediction-cloud = 1.0-0.an23 ceph-mgr-diskprediction-local = 1.0-0.an23 ceph-mgr-k8sevents = 1.0-0.an23 python3-influxdb Processing files: dsms-storage-mgr-dashboard-1.0-0.an23.noarch Provides: dsms-storage-mgr-dashboard = 1.0-0.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 Recommends: python3-saml Processing files: dsms-storage-mgr-diskprediction-local-1.0-0.an23.noarch Provides: dsms-storage-mgr-diskprediction-local = 1.0-0.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 Processing files: dsms-storage-mgr-diskprediction-cloud-1.0-0.an23.noarch Provides: dsms-storage-mgr-diskprediction-cloud = 1.0-0.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 Processing files: dsms-storage-mgr-modules-core-1.0-0.an23.noarch Provides: dsms-storage-mgr-modules-core = 1.0-0.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ceph-mgr-rook = 1.0-0.an23 Processing files: dsms-storage-mgr-rook-1.0-0.an23.noarch Provides: dsms-storage-mgr-rook = 1.0-0.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 Processing files: dsms-storage-mgr-k8sevents-1.0-0.an23.noarch Provides: dsms-storage-mgr-k8sevents = 1.0-0.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 Processing files: dsms-storage-mgr-cephadm-1.0-0.an23.noarch Provides: dsms-storage-mgr-cephadm = 1.0-0.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 Processing files: dsms-storage-fuse-1.0-0.an23.aarch64 Provides: dsms-storage-fuse = 1.0-0.an23 dsms-storage-fuse(aarch-64) = 1.0-0.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-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(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.17)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(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) 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) Processing files: rbd-fuse-1.0-0.an23.aarch64 Provides: rbd-fuse = 1.0-0.an23 rbd-fuse(aarch-64) = 1.0-0.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(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.17)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(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) Processing files: rbd-mirror-1.0-0.an23.aarch64 Provides: rbd-mirror = 1.0-0.an23 rbd-mirror(aarch-64) = 1.0-0.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-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(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.17)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(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(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) Processing files: dsms-storage-immutable-object-cache-1.0-0.an23.aarch64 Provides: dsms-storage-immutable-object-cache = 1.0-0.an23 dsms-storage-immutable-object-cache(aarch-64) = 1.0-0.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-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(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.17)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(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) Processing files: rbd-nbd-1.0-0.an23.aarch64 Provides: rbd-nbd = 1.0-0.an23 rbd-nbd(aarch-64) = 1.0-0.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(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.17)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(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) Processing files: dsms-storage-radosgw-1.0-0.an23.aarch64 Provides: dsms-storage-radosgw = 1.0-0.an23 dsms-storage-radosgw(aarch-64) = 1.0-0.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-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(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.17)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(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) libgcc_s.so.1(GCC_4.5.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.17)(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) Recommends: gawk Processing files: dsms-storage-resource-agents-1.0-0.an23.aarch64 Provides: dsms-storage-resource-agents = 1.0-0.an23 dsms-storage-resource-agents(aarch-64) = 1.0-0.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: dsms-storage-osd-1.0-0.an23.aarch64 Provides: config(dsms-storage-osd) = 1.0-0.an23 dsms-storage-osd = 1.0-0.an23 dsms-storage-osd(aarch-64) = 1.0-0.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-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(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.17)(64bit) libc.so.6(GLIBC_2.25)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(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) libgcc_s.so.1(GCC_4.2.0)(64bit) libgcc_s.so.1(GCC_4.5.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.17)(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.17)(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) Recommends: nvme-cli smartmontools Processing files: librados2-1.0-0.an23.aarch64 Provides: libceph-common.so.2()(64bit) librados.so.2()(64bit) librados.so.2(LIBRADOS_14.2.0)(64bit) librados.so.2(LIBRADOS_PRIVATE)(64bit) librados2 = 1.0-0.an23 librados2(aarch-64) = 1.0-0.an23 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-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(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.17)(64bit) libc.so.6(GLIBC_2.25)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(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) libgcc_s.so.1(GCC_4.5.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.17)(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.17)(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) Obsoletes: ceph-libs < 1.0-0.an23 Processing files: librados-devel-1.0-0.an23.aarch64 Provides: librados-devel = 1.0-0.an23 librados-devel(aarch-64) = 1.0-0.an23 librados2-devel = 1.0-0.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libboost_program_options.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.34)(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) Obsoletes: ceph-devel < 1.0-0.an23 librados2-devel < 1.0-0.an23 Processing files: libradospp-devel-1.0-0.an23.aarch64 Provides: libradospp-devel = 1.0-0.an23 libradospp-devel(aarch-64) = 1.0-0.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: librgw2-1.0-0.an23.aarch64 Provides: librgw.so.2()(64bit) librgw2 = 1.0-0.an23 librgw2(aarch-64) = 1.0-0.an23 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-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(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.17)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(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) libgcc_s.so.1(GCC_4.5.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.17)(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) Processing files: librgw-devel-1.0-0.an23.aarch64 Provides: librgw-devel = 1.0-0.an23 librgw-devel(aarch-64) = 1.0-0.an23 librgw2-devel = 1.0-0.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) Obsoletes: librgw2-devel < 1.0-0.an23 Processing files: python3-rgw-1.0-0.an23.aarch64 Provides: python-rgw = 1.0-0.an23 python3-rgw = 1.0-0.an23 python3-rgw(aarch-64) = 1.0-0.an23 python3.10-rgw = 1.0-0.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: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(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) Obsoletes: python-rgw < 1.0-0.an23 Processing files: python3-rados-1.0-0.an23.aarch64 Provides: python-rados = 1.0-0.an23 python3-rados = 1.0-0.an23 python3-rados(aarch-64) = 1.0-0.an23 python3.10-rados = 1.0-0.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: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(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) Obsoletes: python-rados < 1.0-0.an23 Processing files: libradosstriper1-1.0-0.an23.aarch64 Provides: libradosstriper.so.1()(64bit) libradosstriper1 = 1.0-0.an23 libradosstriper1(aarch-64) = 1.0-0.an23 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-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(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.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(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) Processing files: libradosstriper-devel-1.0-0.an23.aarch64 Provides: libradosstriper-devel = 1.0-0.an23 libradosstriper-devel(aarch-64) = 1.0-0.an23 libradosstriper1-devel = 1.0-0.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) Obsoletes: ceph-devel < 1.0-0.an23 libradosstriper1-devel < 1.0-0.an23 Processing files: librbd1-1.0-0.an23.aarch64 Provides: librbd.so.1()(64bit) librbd1 = 1.0-0.an23 librbd1(aarch-64) = 1.0-0.an23 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-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(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.17)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(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) Obsoletes: ceph-libs < 1.0-0.an23 Processing files: librbd-devel-1.0-0.an23.aarch64 Provides: librbd-devel = 1.0-0.an23 librbd-devel(aarch-64) = 1.0-0.an23 librbd1-devel = 1.0-0.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) Obsoletes: ceph-devel < 1.0-0.an23 librbd1-devel < 1.0-0.an23 Processing files: python3-rbd-1.0-0.an23.aarch64 Provides: python-rbd = 1.0-0.an23 python3-rbd = 1.0-0.an23 python3-rbd(aarch-64) = 1.0-0.an23 python3.10-rbd = 1.0-0.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: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(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) Obsoletes: python-rbd < 1.0-0.an23 Processing files: libcephfs2-1.0-0.an23.aarch64 Provides: libcephfs.so.2()(64bit) libcephfs2 = 1.0-0.an23 libcephfs2(aarch-64) = 1.0-0.an23 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-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(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.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(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) 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) Obsoletes: ceph-libcephfs < 1.0-0.an23 ceph-libs < 1.0-0.an23 libcephfs1 < 1.0-0.an23 Processing files: libcephfs-devel-1.0-0.an23.aarch64 Provides: libcephfs-devel = 1.0-0.an23 libcephfs-devel(aarch-64) = 1.0-0.an23 libcephfs2-devel = 1.0-0.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) Obsoletes: ceph-devel < 1.0-0.an23 libcephfs2-devel < 1.0-0.an23 Processing files: python3-cephfs-1.0-0.an23.aarch64 Provides: python-cephfs = 1.0-0.an23 python3-cephfs = 1.0-0.an23 python3-cephfs(aarch-64) = 1.0-0.an23 python3.10-cephfs = 1.0-0.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: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(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) Obsoletes: python-cephfs < 1.0-0.an23 Processing files: python3-ceph-argparse-1.0-0.an23.aarch64 Provides: python-ceph-argparse = 1.0-0.an23 python3-ceph-argparse = 1.0-0.an23 python3-ceph-argparse(aarch-64) = 1.0-0.an23 python3.10-ceph-argparse = 1.0-0.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 Obsoletes: python-ceph-argparse < 1.0-0.an23 Processing files: python3-ceph-common-1.0-0.an23.aarch64 Provides: python-ceph-common = 1.0-0.an23 python3-ceph-common = 1.0-0.an23 python3-ceph-common(aarch-64) = 1.0-0.an23 python3.10-ceph-common = 1.0-0.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) Obsoletes: python-ceph-common < 1.0-0.an23 Processing files: cephfs-shell-1.0-0.an23.aarch64 Provides: cephfs-shell = 1.0-0.an23 cephfs-shell(aarch-64) = 1.0-0.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) Processing files: ceph-test-1.0-0.an23.aarch64 Provides: ceph-test = 1.0-0.an23 ceph-test(aarch-64) = 1.0-0.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash /usr/bin/sh ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(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_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.17)(64bit) libc.so.6(GLIBC_2.25)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(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) libfuse3.so.3()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) libgcc_s.so.1(GCC_4.5.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.17)(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) 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.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.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) libudev.so.1(LIBUDEV_183)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: rados-objclass-devel-1.0-0.an23.aarch64 Provides: rados-objclass-devel = 1.0-0.an23 rados-objclass-devel(aarch-64) = 1.0-0.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: dsms-storage-selinux-1.0-0.an23.aarch64 Provides: dsms-storage-selinux = 1.0-0.an23 dsms-storage-selinux(aarch-64) = 1.0-0.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-0.an23 gawk policycoreutils selinux-policy-base >= 0.0.0 Requires(postun): /bin/sh policycoreutils Processing files: dsms-storage-grafana-dashboards-1.0-0.an23.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.A22Bep + umask 022 + cd /builddir/build/BUILD + cd dsms-storage + DOCDIR=/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/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-0.an23.aarch64/usr/share/doc/dsms-storage-grafana-dashboards + cp -pr monitoring/grafana/dashboards/README /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/doc/dsms-storage-grafana-dashboards + cp -pr monitoring/grafana/README.md /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64/usr/share/doc/dsms-storage-grafana-dashboards + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(dsms-storage-grafana-dashboards) = 1.0-0.an23 dsms-storage-grafana-dashboards = 1.0-0.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-0.an23.noarch Provides: config(dsms-storage-prometheus-alerts) = 1.0-0.an23 dsms-storage-prometheus-alerts = 1.0-0.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-0.an23.aarch64 Provides: dsms-storage-debugsource = 1.0-0.an23 dsms-storage-debugsource(aarch-64) = 1.0-0.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-0.an23.aarch64 Provides: debuginfo(build-id) = 03d04bd8e8bd88e142cd963ebf02a2b5a538e010 debuginfo(build-id) = 03d4f5adb271da0ac10aaccf292b8e81ed417333 debuginfo(build-id) = 151d1ff744fc49ab648a934f05c128800dbf4202 debuginfo(build-id) = 17bf6e5d767b7a06b2659244463f301afe340c4f debuginfo(build-id) = 1b4a7a423c7743d7417742037d34127a00e244fc debuginfo(build-id) = 1ba5000aaf88cf2c4c709359a0dc2ea980efedbc debuginfo(build-id) = 1fcacde922dfd7863c45a4737e7c84575f020a3c debuginfo(build-id) = 2b4c3fd31497c11fcadf20a1cb667179ce11a87a debuginfo(build-id) = 2d6253505cc74673abc0b75bde0fdf2d07c2a8b5 debuginfo(build-id) = 36713c230be990b366c14c8372b8642f48e3bd5c debuginfo(build-id) = 3891981f57a185980d68ef82f937c4b0b47a280c debuginfo(build-id) = 3b9adf5aeab20375ec14fc0175084d354a9c207a debuginfo(build-id) = 3da99c48dbd2857fc02d247bbab36a1615a82d55 debuginfo(build-id) = 40207f0b1817f6dc88f2d884d7c3d401736b673d debuginfo(build-id) = 4807ecad659c21cf3d9661736976f79cc847aa64 debuginfo(build-id) = 544da7d281fad130effce444ac48e3a12528d369 debuginfo(build-id) = 5c22baa22a07af93ff784c5622d39e9f1cefc77c debuginfo(build-id) = 5d8c681e4084cdd77a303c1cda2358da2178e333 debuginfo(build-id) = 6d973efd57aee954bb9c626e5c3c1bb6102245ff debuginfo(build-id) = 73e8af82750ef97c9033eb66e5dca901e97ffea9 debuginfo(build-id) = 84647f1abe3bcd28309b8cfe2c3cf0c8d0362c17 debuginfo(build-id) = 90f18978e1234ae940566375b92cf7e1dc81012e debuginfo(build-id) = 9ef6cf6334c1276be81bf53d7ee4ffaaecf4cee3 debuginfo(build-id) = a432ffbfd95eaed76be34bb2f56a065761d6dea0 debuginfo(build-id) = ab3b1ebbc3d02cbc22ad8f1b9c265f0d7dd7c8a2 debuginfo(build-id) = af5772d839ebd846e6a52795e8cc2225ed33f028 debuginfo(build-id) = b0555fefa0581644fe64923c022e75d7232db261 debuginfo(build-id) = b74b68f784edb324f002e126c2b6c885e291b818 debuginfo(build-id) = bc151f55e8c54ca5927f85e9975a22b7a004a42d debuginfo(build-id) = bce12dd473b8f5b71f98697928dbaddd8168b4ac debuginfo(build-id) = bd32a957527a2da7d2c37e623a330e6daa49b2a2 debuginfo(build-id) = c33ed83651ca70f5f344d593e65bf6d89c988819 debuginfo(build-id) = c36dbdca5c802446f98b580498084890eb964472 debuginfo(build-id) = c845d49a18ec7d245c0f798438150cf8a24cad6b debuginfo(build-id) = d9b7ad86d11bbc081859a9174b5771b06bf94b33 debuginfo(build-id) = e5ebf01cb7f9a2da250a8afbfc46f7bfacbb8411 debuginfo(build-id) = e6ada2ef3e5d63c0525c1b835e6e51c1327f4273 debuginfo(build-id) = ec6e2316ae7e80b77a2f67e7159c2a36388a0ace debuginfo(build-id) = f35502b2b1a86ca4dc19d60d1dbc3347074f44b8 dsms-storage-base-debuginfo = 1.0-0.an23 dsms-storage-base-debuginfo(aarch-64) = 1.0-0.an23 libceph_crypto_openssl.so-1.0-0.an23.aarch64.debug()(64bit) libceph_lz4.so.2.0.0-1.0-0.an23.aarch64.debug()(64bit) libceph_snappy.so.2.0.0-1.0-0.an23.aarch64.debug()(64bit) libceph_zlib.so.2.0.0-1.0-0.an23.aarch64.debug()(64bit) libceph_zstd.so.2.0.0-1.0-0.an23.aarch64.debug()(64bit) libcls_cas.so.1.0.0-1.0-0.an23.aarch64.debug()(64bit) libcls_cephfs.so.1.0.0-1.0-0.an23.aarch64.debug()(64bit) libcls_hello.so.1.0.0-1.0-0.an23.aarch64.debug()(64bit) libcls_journal.so.1.0.0-1.0-0.an23.aarch64.debug()(64bit) libcls_kvs.so.1.0.0-1.0-0.an23.aarch64.debug()(64bit) libcls_lock.so.1.0.0-1.0-0.an23.aarch64.debug()(64bit) libcls_log.so.1.0.0-1.0-0.an23.aarch64.debug()(64bit) libcls_lua.so.1.0.0-1.0-0.an23.aarch64.debug()(64bit) libcls_numops.so.1.0.0-1.0-0.an23.aarch64.debug()(64bit) libcls_otp.so.1.0.0-1.0-0.an23.aarch64.debug()(64bit) libcls_queue.so.1.0.0-1.0-0.an23.aarch64.debug()(64bit) libcls_rbd.so.1.0.0-1.0-0.an23.aarch64.debug()(64bit) libcls_refcount.so.1.0.0-1.0-0.an23.aarch64.debug()(64bit) libcls_rgw.so.1.0.0-1.0-0.an23.aarch64.debug()(64bit) libcls_rgw_gc.so.1.0.0-1.0-0.an23.aarch64.debug()(64bit) libcls_sdk.so.1.0.0-1.0-0.an23.aarch64.debug()(64bit) libcls_timeindex.so.1.0.0-1.0-0.an23.aarch64.debug()(64bit) libcls_user.so.1.0.0-1.0-0.an23.aarch64.debug()(64bit) libcls_version.so.1.0.0-1.0-0.an23.aarch64.debug()(64bit) libec_clay.so-1.0-0.an23.aarch64.debug()(64bit) libec_isa.so-1.0-0.an23.aarch64.debug()(64bit) libec_jerasure.so-1.0-0.an23.aarch64.debug()(64bit) libec_jerasure_generic.so-1.0-0.an23.aarch64.debug()(64bit) libec_jerasure_neon.so-1.0-0.an23.aarch64.debug()(64bit) libec_lrc.so-1.0-0.an23.aarch64.debug()(64bit) libec_shec.so-1.0-0.an23.aarch64.debug()(64bit) libec_shec_generic.so-1.0-0.an23.aarch64.debug()(64bit) libec_shec_neon.so-1.0-0.an23.aarch64.debug()(64bit) libos_tp.so.1.0.0-1.0-0.an23.aarch64.debug()(64bit) libosd_tp.so.1.0.0-1.0-0.an23.aarch64.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(aarch-64) = 1.0-0.an23 Processing files: dsms-storage-common-debuginfo-1.0-0.an23.aarch64 Provides: debuginfo(build-id) = 06c42951594009316ddf9f089f7daff8de415eec debuginfo(build-id) = 086a1e4a77779b82c3084093b20b91f4a5422648 debuginfo(build-id) = 337e1f6a1359c648d2306a234bf22fdfe327d4ad debuginfo(build-id) = 4abf7d0323378961390fdd3b0bff39c36ca1e48f debuginfo(build-id) = 5929c9c4d5e6869799b8c662da9c933019733324 debuginfo(build-id) = 5f63e5ce242cf918d7f8218e8f10b3df1bfebb92 debuginfo(build-id) = 7a24195280db9edd568887cc2e97a527c91559db debuginfo(build-id) = 804bcbae3be8f396fe047b1c93518fbc79efa24e debuginfo(build-id) = 88479459d3989c2ced6870a71296ec4296958795 debuginfo(build-id) = 9847a7f2ca1881d6fbbc0d117d69f0cba571d290 debuginfo(build-id) = cd300e3db393703705b84c8988066d52c33e931e debuginfo(build-id) = e97f2759fed6d32a17e06f74c420535103761e79 debuginfo(build-id) = ec2a04e55f2f4e8c2466ec8c0591efcb38b9043c dsms-storage-common-debuginfo = 1.0-0.an23 dsms-storage-common-debuginfo(aarch-64) = 1.0-0.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(aarch-64) = 1.0-0.an23 Processing files: dsms-storage-mds-debuginfo-1.0-0.an23.aarch64 Provides: debuginfo(build-id) = 90cb32242208afe43fdbb156302003005e07f87b dsms-storage-mds-debuginfo = 1.0-0.an23 dsms-storage-mds-debuginfo(aarch-64) = 1.0-0.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(aarch-64) = 1.0-0.an23 Processing files: dsms-storage-mon-debuginfo-1.0-0.an23.aarch64 Provides: debuginfo(build-id) = 067fc09bcdbf4362713de912e37cd00380aac8c6 debuginfo(build-id) = 92fa53b90f8b03407f3cd2675667314358a06935 dsms-storage-mon-debuginfo = 1.0-0.an23 dsms-storage-mon-debuginfo(aarch-64) = 1.0-0.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(aarch-64) = 1.0-0.an23 Processing files: dsms-storage-mgr-debuginfo-1.0-0.an23.aarch64 Provides: debuginfo(build-id) = df4228f209a43ffe841456861b87d2fb9b6b5de0 dsms-storage-mgr-debuginfo = 1.0-0.an23 dsms-storage-mgr-debuginfo(aarch-64) = 1.0-0.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(aarch-64) = 1.0-0.an23 Processing files: dsms-storage-fuse-debuginfo-1.0-0.an23.aarch64 Provides: debuginfo(build-id) = f5621047930a2fca00ab7334007d23b381e43f77 dsms-storage-fuse-debuginfo = 1.0-0.an23 dsms-storage-fuse-debuginfo(aarch-64) = 1.0-0.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(aarch-64) = 1.0-0.an23 Processing files: rbd-fuse-debuginfo-1.0-0.an23.aarch64 Provides: debuginfo(build-id) = 5b3f662630195adc881743495a7f95b43d888da6 rbd-fuse-debuginfo = 1.0-0.an23 rbd-fuse-debuginfo(aarch-64) = 1.0-0.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(aarch-64) = 1.0-0.an23 Processing files: rbd-mirror-debuginfo-1.0-0.an23.aarch64 Provides: debuginfo(build-id) = 9a913e231c2edf6c6f39984648d19491439062d7 rbd-mirror-debuginfo = 1.0-0.an23 rbd-mirror-debuginfo(aarch-64) = 1.0-0.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(aarch-64) = 1.0-0.an23 Processing files: dsms-storage-immutable-object-cache-debuginfo-1.0-0.an23.aarch64 Provides: debuginfo(build-id) = 8f93857ff0f467859b12eeeaff4fa50faea27c37 dsms-storage-immutable-object-cache-debuginfo = 1.0-0.an23 dsms-storage-immutable-object-cache-debuginfo(aarch-64) = 1.0-0.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(aarch-64) = 1.0-0.an23 Processing files: rbd-nbd-debuginfo-1.0-0.an23.aarch64 Provides: debuginfo(build-id) = efb9bb9f7e79600c9578d224c4364bb07bd1b9b7 rbd-nbd-debuginfo = 1.0-0.an23 rbd-nbd-debuginfo(aarch-64) = 1.0-0.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(aarch-64) = 1.0-0.an23 Processing files: dsms-storage-radosgw-debuginfo-1.0-0.an23.aarch64 Provides: debuginfo(build-id) = 1bff009eb09a44f25753f7bcc0bc187138576572 debuginfo(build-id) = 2902b0cbcda51d80588f6b28e1a77714f55f42b5 debuginfo(build-id) = 4f77917ae16fa1127c285e938e791b771c72eaab debuginfo(build-id) = 6ed96d3d0d93e4bbcabfd08540e98019806739d6 debuginfo(build-id) = a4ec59d6c7c5e8cf081aa0ab5804d3024ab636e6 debuginfo(build-id) = d02da1acda53f61da7640f97c1cb5d0793ec5bd1 dsms-storage-radosgw-debuginfo = 1.0-0.an23 dsms-storage-radosgw-debuginfo(aarch-64) = 1.0-0.an23 libradosgw.so.2.0.0-1.0-0.an23.aarch64.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(aarch-64) = 1.0-0.an23 Processing files: dsms-storage-osd-debuginfo-1.0-0.an23.aarch64 Provides: debuginfo(build-id) = 486d0ab9932db19a593b589a3a6f4adf20626652 debuginfo(build-id) = 79e5c2ef9b4a097a7753c3d8947dee5732f0fc79 debuginfo(build-id) = 87ed44abb0710a2f0a30dd8e4b674d9c65a34839 debuginfo(build-id) = cc0f522f404889b78cf36ab2a2356c910a8dfc83 debuginfo(build-id) = eedfd25882bb6502f63a22a1e16d03a3d7eda23f dsms-storage-osd-debuginfo = 1.0-0.an23 dsms-storage-osd-debuginfo(aarch-64) = 1.0-0.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(aarch-64) = 1.0-0.an23 Processing files: librados2-debuginfo-1.0-0.an23.aarch64 Provides: debuginfo(build-id) = 414ab419c879a3abbc02de89a6c3530f16af9e54 debuginfo(build-id) = 478979ff58c2ce1177d40a6144f13b46c8ea360e debuginfo(build-id) = 92bc44d3ab544be7b0310649b62f51fd62ac2a1d libceph-common.so.2-1.0-0.an23.aarch64.debug()(64bit) librados.so.2.0.0-1.0-0.an23.aarch64.debug()(64bit) librados2-debuginfo = 1.0-0.an23 librados2-debuginfo(aarch-64) = 1.0-0.an23 librados_tp.so.2.0.0-1.0-0.an23.aarch64.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(aarch-64) = 1.0-0.an23 Processing files: librados-devel-debuginfo-1.0-0.an23.aarch64 Provides: debuginfo(build-id) = 06e9d35159ab6e03ad6f9832b1cf5b2aaa7bfac6 librados-devel-debuginfo = 1.0-0.an23 librados-devel-debuginfo(aarch-64) = 1.0-0.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(aarch-64) = 1.0-0.an23 Processing files: librgw2-debuginfo-1.0-0.an23.aarch64 Provides: debuginfo(build-id) = 71d66aa496e08858aeea79760cd8e35c1ca9cd08 debuginfo(build-id) = a08c518e484f31c149f4678a3effb32aca3e2824 debuginfo(build-id) = bfa84a5f945eb3ee644f3d3a73eff78754683c52 librgw.so.2.0.0-1.0-0.an23.aarch64.debug()(64bit) librgw2-debuginfo = 1.0-0.an23 librgw2-debuginfo(aarch-64) = 1.0-0.an23 librgw_op_tp.so.1.0.0-1.0-0.an23.aarch64.debug()(64bit) librgw_rados_tp.so.1.0.0-1.0-0.an23.aarch64.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(aarch-64) = 1.0-0.an23 Processing files: python3-rgw-debuginfo-1.0-0.an23.aarch64 Provides: debuginfo(build-id) = a807128fb6b9460d438126ffc93f4c317eb1b040 python-rgw-debuginfo = 1.0-0.an23 python3-rgw-debuginfo = 1.0-0.an23 python3-rgw-debuginfo(aarch-64) = 1.0-0.an23 python3.10-rgw-debuginfo = 1.0-0.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(aarch-64) = 1.0-0.an23 Processing files: python3-rados-debuginfo-1.0-0.an23.aarch64 Provides: debuginfo(build-id) = ad1107dc9565054ec7bbdd6eaae9568430553c36 python-rados-debuginfo = 1.0-0.an23 python3-rados-debuginfo = 1.0-0.an23 python3-rados-debuginfo(aarch-64) = 1.0-0.an23 python3.10-rados-debuginfo = 1.0-0.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(aarch-64) = 1.0-0.an23 Processing files: libradosstriper1-debuginfo-1.0-0.an23.aarch64 Provides: debuginfo(build-id) = 2b325c7b555081a0864a780bcd794e81f0076b9b libradosstriper.so.1.0.0-1.0-0.an23.aarch64.debug()(64bit) libradosstriper1-debuginfo = 1.0-0.an23 libradosstriper1-debuginfo(aarch-64) = 1.0-0.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(aarch-64) = 1.0-0.an23 Processing files: librbd1-debuginfo-1.0-0.an23.aarch64 Provides: debuginfo(build-id) = cf557b49ce44634103e30db094f2b028841aa37a debuginfo(build-id) = daf96a2fd5a74adbaa070919f9aee00d3a79a61a librbd.so.1.12.0-1.0-0.an23.aarch64.debug()(64bit) librbd1-debuginfo = 1.0-0.an23 librbd1-debuginfo(aarch-64) = 1.0-0.an23 librbd_tp.so.1.0.0-1.0-0.an23.aarch64.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(aarch-64) = 1.0-0.an23 Processing files: python3-rbd-debuginfo-1.0-0.an23.aarch64 Provides: debuginfo(build-id) = 9912cff4a6ea24fe759fcb251234523106e489d1 python-rbd-debuginfo = 1.0-0.an23 python3-rbd-debuginfo = 1.0-0.an23 python3-rbd-debuginfo(aarch-64) = 1.0-0.an23 python3.10-rbd-debuginfo = 1.0-0.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(aarch-64) = 1.0-0.an23 Processing files: libcephfs2-debuginfo-1.0-0.an23.aarch64 Provides: debuginfo(build-id) = d946899586fb3d7f97942c173005d697a00cc9aa libcephfs.so.2.0.0-1.0-0.an23.aarch64.debug()(64bit) libcephfs2-debuginfo = 1.0-0.an23 libcephfs2-debuginfo(aarch-64) = 1.0-0.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(aarch-64) = 1.0-0.an23 Processing files: python3-cephfs-debuginfo-1.0-0.an23.aarch64 Provides: debuginfo(build-id) = c64dcaf92712bba33ff2f491df0a1c704e3cdb7a python-cephfs-debuginfo = 1.0-0.an23 python3-cephfs-debuginfo = 1.0-0.an23 python3-cephfs-debuginfo(aarch-64) = 1.0-0.an23 python3.10-cephfs-debuginfo = 1.0-0.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(aarch-64) = 1.0-0.an23 Processing files: ceph-test-debuginfo-1.0-0.an23.aarch64 Provides: ceph-test-debuginfo = 1.0-0.an23 ceph-test-debuginfo(aarch-64) = 1.0-0.an23 debuginfo(build-id) = 04d852562ddb0065c94c603fe20113958421bef3 debuginfo(build-id) = 053090a053446d04f852d3f03d13fef3f42d6cc6 debuginfo(build-id) = 081e6c91105f1781627c6e4f9350dab091b96d5f debuginfo(build-id) = 09fa4dcd9605a7ef7b401cf34540f48992065eb1 debuginfo(build-id) = 0ba4fc6057a69a9888c066acf61df07fc3b34771 debuginfo(build-id) = 0eee014068b4e7e3de1e0acfdf48b8c109158b36 debuginfo(build-id) = 135ec0a5b004fccc97c6955018156e040e967348 debuginfo(build-id) = 18ec301aaa39134d79ab861e8455e4b637bf0ca1 debuginfo(build-id) = 1a86a761d857cdb16a44998af90c6e0d5cf74a88 debuginfo(build-id) = 24b42797e674da708953654939f75aa0f5045900 debuginfo(build-id) = 2607b2488d444dad715c1a795e12332cb204e7d3 debuginfo(build-id) = 2904771f8fb7d88778f927104ee5817411c75e96 debuginfo(build-id) = 2ebeaa2801fcd6dbff1d32b90a5f51b7fca6c2d0 debuginfo(build-id) = 305bd305b7eed8bf1b59ab0b0265a730e6cbfea5 debuginfo(build-id) = 32507edd0b7e8b1db58912f3629645ab671d339a debuginfo(build-id) = 3453f41e323648134521579e3aa0eba319babd42 debuginfo(build-id) = 363eadc701d4db107179b999f956a7e93ec09c87 debuginfo(build-id) = 384d697ee213eb4e31f225afa02854183de33da7 debuginfo(build-id) = 38b9b6866a3c6c909e3b96208391e6c19b40d056 debuginfo(build-id) = 3d05280a53d69694a05ac1b5f37ea9dfbbefe0a1 debuginfo(build-id) = 3d1027f969c3c02fac25baad6999878d92af3afb debuginfo(build-id) = 42fdc55684641f2c3f70b4d4539c4c61b9bc0dea debuginfo(build-id) = 452d8957d3b9af5b5d619bf4bb9842db6ae102f3 debuginfo(build-id) = 48c13c333a61844eedb7fa9ee50600fcf8a41af9 debuginfo(build-id) = 49c66b6a77a16b0c9141f3116e3474104a2d3edc debuginfo(build-id) = 4d13abb27a259b4a14b72f6ade6397157f8e2470 debuginfo(build-id) = 53082cd7c551bdb36c19e25a2fee2144f2d01af1 debuginfo(build-id) = 5398c1e6ab01fa2302680d2da9517a4b259826c7 debuginfo(build-id) = 54a0bf5af8d2d954a9d4b02a19cf86f5733c487f debuginfo(build-id) = 564b5f788d18ee981c657d239746a2737a34c54e debuginfo(build-id) = 57657c81327ce6804887dff6dc8aaa78c177c1df debuginfo(build-id) = 5e931d7bfe171a45b1894d61fdb8248a715778cc debuginfo(build-id) = 5fc7d8aad21897247f2dfc2e63fdd11bd7ac805a debuginfo(build-id) = 632070d5c8843b82f77eaaba0d5fc1c0d3113429 debuginfo(build-id) = 63bb58ce0d2fa105816054a34e91ee0fdb9ad56c debuginfo(build-id) = 63faa33326e02e60ec6d0b09ad437adc1bb7ae5e debuginfo(build-id) = 675173545f7c3a9d8e139d18083cb25cf9786549 debuginfo(build-id) = 6a0819700bf93e9e640b105bea1fa4759208dbab debuginfo(build-id) = 70bca7ab69533dec8f92547c769f00c4ce2953d6 debuginfo(build-id) = 75fbc35f2d4fd69800e1e6a6e2e6060d8d9b6adb debuginfo(build-id) = 7ba7339774d71707dbbe747d81281d387228e4f3 debuginfo(build-id) = 7c7ba89855e65bf7a16ff3cd8411d64622b395bb debuginfo(build-id) = 7cf1dc80ae4fbf6df04c379a609ef160d90f7435 debuginfo(build-id) = 7e7386e5881841f44b85c7a65fd956e4abb92ae0 debuginfo(build-id) = 83fc53f0ecacf4cbaecd6ef827c83c33fcc22dd6 debuginfo(build-id) = 8492237fafcbaf6808e092d364b40104d2e3a920 debuginfo(build-id) = 85c21f866a03beb9c8cac1a0f1a3261acea2b79d debuginfo(build-id) = 86d0b95b2f4b8f1fb75ec46e14231ead279fdc83 debuginfo(build-id) = 88bc0739bd7284fbb0a1f63193d5533fbb3db98e debuginfo(build-id) = 89264f01581fb8abfbf966214548ffd64b774588 debuginfo(build-id) = 9182c59097806d039a28954b9a8917d91429c7da debuginfo(build-id) = 947f53cd6cb4e6171ffb9ba33dbef8065cc6304d debuginfo(build-id) = 9fa10819fb8754dcf698e8f44ceaf7179fb25bcf debuginfo(build-id) = a3c1a5768a3a7adb704f52052b35b73a61ce000a debuginfo(build-id) = a440de5f753c610e641a38ccfe71b8cb254d69d8 debuginfo(build-id) = a905b61818013cc25a68f72f26083eb652be7f41 debuginfo(build-id) = a92d15a199ae9b70ecde739a328939c760644481 debuginfo(build-id) = aac492af4ddff3e5794dd28d0018ac29e413098d debuginfo(build-id) = acff569765c1e9938f1db1351ee6bb354791d41b debuginfo(build-id) = af1441a630f69bfb943f1e14f778eb50fbafa9a4 debuginfo(build-id) = b745f3bdc0def00cc08ae6820feae24ec0098f4e debuginfo(build-id) = b8f63556c741e1754c8f3b7c451c4d2c5f7756f7 debuginfo(build-id) = b9496751698b7e0ada41d29b8a169dc87834b0f6 debuginfo(build-id) = ba3a2201d177add503401f61a9d60272672f6a79 debuginfo(build-id) = baa99399b7dc0f46fc5e669cc182d46669ed33ac debuginfo(build-id) = bf92f3a2ca6b7e68c55e46cc2c55de47672d6fed debuginfo(build-id) = c19acc97a148faa395a727506977291a25d5f0e8 debuginfo(build-id) = c2b6b82584307216280f24fca9f4cfa55e3c4f73 debuginfo(build-id) = c48e7f1b54c1bde3d38b8ad17b08e49d495406cb debuginfo(build-id) = c7bfaa35822f5e688db9780d195aead7b6aef476 debuginfo(build-id) = cbec40b6e163f0c57b468cc55214c11ed53a10c4 debuginfo(build-id) = cc21633e445e2a31512c5d7afcf65133d032be54 debuginfo(build-id) = cddad8d12819f9052a05a7414d40e90d88502a2f debuginfo(build-id) = d46b9541a3fc63b3de7fd77edfc4c2552b9623ea debuginfo(build-id) = d988fb1c8d8458a695e0c99c654bd5aabb05fc18 debuginfo(build-id) = d99050453a0b28a245634b284379adf516d135c7 debuginfo(build-id) = dd3261952c1f6654e5666b379d667e7eda6699aa debuginfo(build-id) = e1a3378f21031ca2dba712b22fcc6eff03bace98 debuginfo(build-id) = e70204bc9052d1dae6412b64c98c62cf5b379357 debuginfo(build-id) = e8ccea00cbc0190e15448709dddd878ee0f917ff debuginfo(build-id) = e90d05e38b7bcb7989309d1303a7b02e4c611ff4 debuginfo(build-id) = ea129febada1cc2cf4f48bc614a386ac6eade90a debuginfo(build-id) = ea3d56220512a54afb3807a0182d920aecae4e45 debuginfo(build-id) = ec6a383cc720b1e271d3156d3aa929b94c479f3e debuginfo(build-id) = edc125458c282170f320375273bac0288b0cea2e debuginfo(build-id) = ef4dd087ba6f1fa159bc9264e6c8ef8c767d3351 debuginfo(build-id) = f0cb82e0c5f63ab76d52198be372a4cddb460ee5 debuginfo(build-id) = f629a84a491b08495e1d11c6b2057fac34deb1eb debuginfo(build-id) = f85f3fb98d6d23559d747313b47123c4a7895563 debuginfo(build-id) = fb790c006a6d33c253c1d5ae272b817e0adb12bc debuginfo(build-id) = fbaf93f6decf30090ed465a6a9e84a1e38e531f4 debuginfo(build-id) = fbf3a4123c9a6e559a3ebe24a49cbab571d512e2 debuginfo(build-id) = fec1bdbb709adc8480c5f36059fae3d2546bd707 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(aarch-64) = 1.0-0.an23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64 Wrote: /builddir/build/RPMS/rados-objclass-devel-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/dsms-storage-resource-agents-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/librgw-devel-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/dsms-storage-prometheus-alerts-1.0-0.an23.noarch.rpm Wrote: /builddir/build/RPMS/dsms-storage-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/libradosstriper-devel-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/cephfs-shell-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mgr-k8sevents-1.0-0.an23.noarch.rpm Wrote: /builddir/build/RPMS/libcephfs-devel-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/libradospp-devel-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/librbd-devel-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/python3-ceph-argparse-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/librados-devel-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mgr-rook-1.0-0.an23.noarch.rpm Wrote: /builddir/build/RPMS/rbd-fuse-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/dsms-storage-selinux-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/python3-rgw-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/cephadm-1.0-0.an23.noarch.rpm Wrote: /builddir/build/RPMS/dsms-storage-mgr-diskprediction-cloud-1.0-0.an23.noarch.rpm Wrote: /builddir/build/RPMS/dsms-storage-grafana-dashboards-1.0-0.an23.noarch.rpm Wrote: /builddir/build/RPMS/python3-ceph-common-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mgr-cephadm-1.0-0.an23.noarch.rpm Wrote: /builddir/build/RPMS/rbd-nbd-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/python3-cephfs-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/dsms-storage-immutable-object-cache-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/python3-rados-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/librados-devel-debuginfo-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/python3-rbd-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/libradosstriper1-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/python3-rgw-debuginfo-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/libcephfs2-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mgr-modules-core-1.0-0.an23.noarch.rpm Wrote: /builddir/build/RPMS/python3-cephfs-debuginfo-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/dsms-storage-fuse-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/python3-rados-debuginfo-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mgr-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/python3-rbd-debuginfo-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/rbd-fuse-debuginfo-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mds-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/librbd1-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mgr-dashboard-1.0-0.an23.noarch.rpm Wrote: /builddir/build/RPMS/rbd-nbd-debuginfo-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/librgw2-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/rbd-mirror-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/librados2-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/dsms-storage-immutable-object-cache-debuginfo-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mon-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/dsms-storage-base-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/libradosstriper1-debuginfo-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/dsms-storage-radosgw-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/libcephfs2-debuginfo-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/dsms-storage-fuse-debuginfo-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/dsms-storage-osd-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/dsms-storage-debugsource-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mgr-diskprediction-local-1.0-0.an23.noarch.rpm Wrote: /builddir/build/RPMS/dsms-storage-common-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mgr-debuginfo-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/ceph-test-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mds-debuginfo-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/librbd1-debuginfo-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/rbd-mirror-debuginfo-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/librados2-debuginfo-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/librgw2-debuginfo-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mon-debuginfo-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/dsms-storage-base-debuginfo-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/dsms-storage-radosgw-debuginfo-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/dsms-storage-osd-debuginfo-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/dsms-storage-common-debuginfo-1.0-0.an23.aarch64.rpm Wrote: /builddir/build/RPMS/ceph-test-debuginfo-1.0-0.an23.aarch64.rpm RPM build warnings: Macro expanded in comment on line 50: %{version}.tar.gz Child return code was: 0